esp32_c3/
lib.rs

1// Licensed under the Apache License, Version 2.0 or the MIT License.
2// SPDX-License-Identifier: Apache-2.0 OR MIT
3// Copyright Tock Contributors 2022.
4
5//! Drivers and chip support for ESP32-C3.
6
7#![no_std]
8
9pub mod chip;
10pub mod intc;
11pub mod interrupts;
12pub mod rng;
13pub mod sysreg;
14
15pub mod timg {
16    pub use esp32::timg::{ClockSource, TIMG0_BASE, TIMG1_BASE};
17    pub type TimG<'a> = esp32::timg::TimG<'a, esp32::timg::Freq20MHz, true>;
18}