Re-exports§
pub use self::peripherals::Peripherals;pub use ch57x_pac as pac;
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
- interrupt
- isp
- The libISP583 library.
- 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
u32type
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