sg200x-bsp 0.6.0

Board Support Package (BSP) for SG2002/SG200x series chips, providing hardware abstraction layer drivers for pinmux, GPIO, SD/MMC, and TPU
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! SG2002 BSP 内部通用工具集合:与具体外设无关的底层 helper。
//!
//! 子模块:
//!
//! - [`cache`]:CPU D-cache 与 DMA 一致性维护(T-Head C906 / AArch64)。
//! - [`delay`]:忙等延时(NOP 循环)。
//!
//! 外部使用者一般通过 `crate::utils::cache::*` 或 [`crate::utils::delay`] 直接拿到所需 API。

pub mod cache;
pub mod delay;

pub use delay::{delay, delay_long, delay_short};