Expand description
Peripheral access API for GD32C1 microcontrollers (generated using svd2rust 0.32.0)
You can find an overview of the API here: svd2rust/#peripheral-api
For more details see the README here: gd32-rs
This crate supports all GD32C1 devices; for the complete list please see: gd32c1
Due to doc build limitations, not all devices may be shown on docs.rs; a representative few have been selected instead. For a complete list of available registers and fields see: gd32-rs Device Coverage
Modules§
- gd32c103
- Peripheral access API for GD32C10X microcontrollers (generated using svd2rust v0.32.0 ( ))
- gd32c113
- Peripheral access API for GD32C11X microcontrollers (generated using svd2rust v0.32.0 ( ))
Structs§
- Reg
- This structure provides volatile access to registers.
- Safe
- Marker for register/field writers which can take any value of specified width
- Unsafe
- You should check that value is allowed to pass to register/field writer marked with this
Traits§
- Field
Spec - Raw field type
- RawReg
- Raw register type (
u8
,u16
,u32
, …) - Readable
- Trait implemented by readable registers to enable the
read
method. - Register
Spec - Raw register type
- Resettable
- Reset value of the register.
- Writable
- Trait implemented by writeable registers.
Type Aliases§
- BitReader
- Bit-wise field reader
- BitWriter
- Bit-wise write field proxy
- BitWriter0C
- Bit-wise write field proxy
- BitWriter0S
- Bit-wise write field proxy
- BitWriter0T
- Bit-wise write field proxy
- BitWriter1C
- Bit-wise write field proxy
- BitWriter1S
- Bit-wise write field proxy
- BitWriter1T
- Bit-wise write field proxy
- Field
Reader - Field reader.
- Field
Writer - Write field Proxy with unsafe
bits
- Field
Writer Safe - Write field Proxy with safe
bits
- R
- Register reader.
- W
- Register writer.