Crate ch58x_hal

Source

Re-exports§

pub use self::peripherals::Peripherals;

Modules§

adc
ble
delay
Simple busy-loop delay provider
dma
embassy
gpio
GPIO_ModeIN_Floating, //浮空输入 GPIO_ModeIN_PU, //上拉输入 GPIO_ModeIN_PD, //下拉输入 GPIO_ModeOut_PP_5mA, //推挽输出最大5mA GPIO_ModeOut_PP_20mA, //推挽输出最大20mA
i2c
I2C, 100KHz and 400KHz, no DMA support
interrupt
isp
The libISP583 library.
pac
Peripheral access API for CH583SFR microcontrollers (generated using svd2rust v0.31.3 ( ))
peripherals
prelude
rtc
Real time clock
signature
spi
SPI, Serial Peripheral Interface
sysctl
timer
TMRx Timer.
uart
UART, Universal Asynchronous Receiver/Transmitter

Macros§

impl_peripheral
println

Structs§

Config
PeripheralRef
An exclusive reference to a peripheral.

Statics§

SERIAL

Traits§

Peripheral
Trait for any type that can be used as a peripheral of type P.
U32Ext
Extension trait that adds convenience methods to the u32 type

Functions§

delay_ms
delay_us
init
reset
System reset
set_default_serial
soft_reset
Software reset
stack_free
with_safe_access

Type Aliases§

BitsPerSecond
Bits per second