Struct esp32c2_hal::pac::uart0::id::R
pub struct R(_);
Expand description
Register ID
reader
Implementations§
§impl R
impl R
pub fn id(&self) -> FieldReaderRaw<u32, u32>
pub fn id(&self) -> FieldReaderRaw<u32, u32>
Bits 0:29 - This register is used to configure the uart_id.
pub fn high_speed(&self) -> BitReaderRaw<bool>
pub fn high_speed(&self) -> BitReaderRaw<bool>
Bit 30 - This bit used to select synchronize mode. 1: Registers are auto synchronized into UART Core clock and UART core should be keep the same with APB clock. 0: After configure registers, software needs to write 1 to UART_REG_UPDATE to synchronize registers.
pub fn reg_update(&self) -> BitReaderRaw<bool>
pub fn reg_update(&self) -> BitReaderRaw<bool>
Bit 31 - Software write 1 would synchronize registers into UART Core clock domain and would be cleared by hardware after synchronization is done.
Methods from Deref<Target = R<ID_SPEC>>§
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.