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§
Structs§
- Config
- Peripheral
Ref - An exclusive reference to a peripheral.
Statics§
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§
- Bits
PerSecond - Bits per second