Type Alias gd32f1::gd32f190::syscfg::cfg0::R

source ·
pub type R = R<Cfg0Spec>;
Expand description

Register CFG0 reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn boot_mode(&self) -> BootModeR

Bits 0:1 - Boot mode

source

pub fn adc_dma_rmp(&self) -> AdcDmaRmpR

Bit 8 - ADC DMA request remapping enable

source

pub fn usart0_tx_dma_rmp(&self) -> Usart0TxDmaRmpR

Bit 9 - USART0_TX DMA request remapping enable

source

pub fn usart0_rx_dma_rmp(&self) -> Usart0RxDmaRmpR

Bit 10 - USART0_RX DMA request remapping enable

source

pub fn timer15_dma_rmp(&self) -> Timer15DmaRmpR

Bit 11 - Timer 15 DMA request remapping enable

source

pub fn timer16_dma_rmp(&self) -> Timer16DmaRmpR

Bit 12 - Timer 16 DMA request remapping enable

source

pub fn pb9_hcce(&self) -> Pb9HcceR

Bit 19 - PB9 pin high current capability enable