Struct gd32f1::gd32f130::Peripherals
source · pub struct Peripherals {Show 37 fields
pub adc: Adc,
pub cec: Cec,
pub cmp: Cmp,
pub crc: Crc,
pub dbg: Dbg,
pub dma: Dma,
pub exti: Exti,
pub fmc: Fmc,
pub fwdgt: Fwdgt,
pub gpioa: Gpioa,
pub gpiob: Gpiob,
pub gpioc: Gpioc,
pub gpiod: Gpiod,
pub gpiof: Gpiof,
pub i2c0: I2c0,
pub i2c1: I2c1,
pub i2c2: I2c2,
pub opa_ivref: OpaIvref,
pub pmu: Pmu,
pub rcu: Rcu,
pub rtc: Rtc,
pub spi0: Spi0,
pub spi1: Spi1,
pub spi2: Spi2,
pub syscfg: Syscfg,
pub timer0: Timer0,
pub timer1: Timer1,
pub timer2: Timer2,
pub timer5: Timer5,
pub timer13: Timer13,
pub timer14: Timer14,
pub timer15: Timer15,
pub timer16: Timer16,
pub tsi: Tsi,
pub usart0: Usart0,
pub usart1: Usart1,
pub wwdgt: Wwdgt,
}
Expand description
All the peripherals.
Fields§
§adc: Adc
ADC
cec: Cec
CEC
cmp: Cmp
CMP
crc: Crc
CRC
dbg: Dbg
DBG
dma: Dma
DMA
exti: Exti
EXTI
fmc: Fmc
FMC
fwdgt: Fwdgt
FWDGT
gpioa: Gpioa
GPIOA
gpiob: Gpiob
GPIOB
gpioc: Gpioc
GPIOC
gpiod: Gpiod
GPIOD
gpiof: Gpiof
GPIOF
i2c0: I2c0
I2C0
i2c1: I2c1
I2C1
i2c2: I2c2
I2C2
opa_ivref: OpaIvref
OPA_IVREF
pmu: Pmu
PMU
rcu: Rcu
RCU
rtc: Rtc
RTC
spi0: Spi0
SPI0
spi1: Spi1
SPI1
spi2: Spi2
SPI2
syscfg: Syscfg
SYSCFG
timer0: Timer0
TIMER0
timer1: Timer1
TIMER1
timer2: Timer2
TIMER2
timer5: Timer5
TIMER5
timer13: Timer13
TIMER13
timer14: Timer14
TIMER14
timer15: Timer15
TIMER15
timer16: Timer16
TIMER16
tsi: Tsi
TSI
usart0: Usart0
USART0
usart1: Usart1
USART1
wwdgt: Wwdgt
WWDGT
Implementations§
Auto Trait Implementations§
impl Freeze for Peripherals
impl RefUnwindSafe for Peripherals
impl Send for Peripherals
impl !Sync for Peripherals
impl Unpin for Peripherals
impl UnwindSafe for Peripherals
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more