Type Definition gd32f1::gd32f130::can0::err::R [−][src]
type R = R<u32, ERR>;
Reader of register ERR
Implementations
impl R
[src]
pub fn recnt(&self) -> RECNT_R
[src]
Bits 24:31 - Receive Error Count
pub fn tecnt(&self) -> TECNT_R
[src]
Bits 16:23 - Transmit Error Count
pub fn errn(&self) -> ERRN_R
[src]
Bits 4:6 - Error number
pub fn boerr(&self) -> BOERR_R
[src]
Bit 2 - Bus-off error
pub fn perr(&self) -> PERR_R
[src]
Bit 1 - Passive error
pub fn werr(&self) -> WERR_R
[src]
Bit 0 - Warning error