pub type R = R<GET_LINE_CODE_W1_SPEC>;
Expand description

Register GET_LINE_CODE_W1 reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn get_bdata_bits(&self) -> GET_BDATA_BITS_R

Bits 0:7 - The value of bCharFormat set by software which is requested by GET_LINE_CODING command.

source

pub fn get_bparity_type(&self) -> GET_BPARITY_TYPE_R

Bits 8:15 - The value of bParityTpye set by software which is requested by GET_LINE_CODING command.

source

pub fn get_bchar_format(&self) -> GET_BCHAR_FORMAT_R

Bits 16:23 - The value of bDataBits set by software which is requested by GET_LINE_CODING command.