esp-hal 1.2.0

Bare-metal HAL for Espressif devices
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! # SOC (System-on-Chip) module (ESP32-C2)
//!
//! ## Overview
//!
//! The `SOC` module provides access, functions and structures that are useful
//! for interacting with various system-related peripherals on `ESP32-C2` chip.

crate::unstable_module! {
    pub mod clocks;
    pub mod trng;
}
pub(crate) mod regi2c;

pub(crate) use esp32c2 as pac;

#[cfg(feature = "rt")]
pub(crate) fn riscv_preinit() {}
pub(crate) fn pre_init() {}