pub struct R(_);
Expand description
Register LCR
reader
Implementations§
source§impl R
impl R
sourcepub fn lcr_word_sz(&self) -> LCR_WORD_SZ_R
pub fn lcr_word_sz(&self) -> LCR_WORD_SZ_R
Bits 0:1 - RW, UART word bit length: 00-5bit, 01-6bit, 10-7bit, 11-8bit
sourcepub fn lcr_stop_bit(&self) -> LCR_STOP_BIT_R
pub fn lcr_stop_bit(&self) -> LCR_STOP_BIT_R
Bit 2 - RW, UART stop bit length: 0-1bit, 1-2bit
sourcepub fn lcr_par_en(&self) -> LCR_PAR_EN_R
pub fn lcr_par_en(&self) -> LCR_PAR_EN_R
Bit 3 - RW, UART parity enable
sourcepub fn lcr_par_mod(&self) -> LCR_PAR_MOD_R
pub fn lcr_par_mod(&self) -> LCR_PAR_MOD_R
Bits 4:5 - RW, UART parity mode: 00-odd, 01-even, 10-mark, 11-space
sourcepub fn lcr_break_en(&self) -> LCR_BREAK_EN_R
pub fn lcr_break_en(&self) -> LCR_BREAK_EN_R
Bit 6 - RW, UART break control enable
sourcepub fn lcr_gp_bit__rb_lcr_dlab(&self) -> LCR_GP_BIT__RB_LCR_DLAB_R
pub fn lcr_gp_bit__rb_lcr_dlab(&self) -> LCR_GP_BIT__RB_LCR_DLAB_R
Bit 7 - RW, UART general purpose bit;RW, UART reserved bit