esp32_c3/
lib.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Licensed under the Apache License, Version 2.0 or the MIT License.
// SPDX-License-Identifier: Apache-2.0 OR MIT
// Copyright Tock Contributors 2022.

//! Drivers and chip support for ESP32-C3.

#![no_std]
#![crate_name = "esp32_c3"]
#![crate_type = "rlib"]

pub mod chip;
pub mod intc;
pub mod interrupts;
pub mod rng;
pub mod sysreg;

pub mod timg {
    pub use esp32::timg::{ClockSource, TIMG0_BASE, TIMG1_BASE};
    pub type TimG<'a> = esp32::timg::TimG<'a, esp32::timg::Freq20MHz, true>;
}