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#![crate_name = "esp32_c3"]
9#![crate_type = "rlib"]
10
11pub mod chip;
12pub mod intc;
13pub mod interrupts;
14pub mod rng;
15pub mod sysreg;
16
17pub mod timg {
18    pub use esp32::timg::{ClockSource, TIMG0_BASE, TIMG1_BASE};
19    pub type TimG<'a> = esp32::timg::TimG<'a, esp32::timg::Freq20MHz, true>;
20}