Struct esp32_hal::pac::twai::err_warning_limit::W
pub struct W(_);
Expand description
Register ERR_WARNING_LIMIT
writer
Implementations§
§impl W
impl W
pub fn err_warning_limit(
&mut self
) -> FieldWriterRaw<'_, u32, ERR_WARNING_LIMIT_SPEC, u8, u8, Unsafe, 8, 0>
pub fn err_warning_limit(
&mut self
) -> FieldWriterRaw<'_, u32, ERR_WARNING_LIMIT_SPEC, u8, u8, Unsafe, 8, 0>
Bits 0:7 - Error warning threshold. In the case when any of a error counter value exceeds the threshold, or all the error counter values are below the threshold, an error warning interrupt will be triggered (given the enable signal is valid).
Methods from Deref<Target = W<ERR_WARNING_LIMIT_SPEC>>§
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
Safety
Read datasheet or reference manual to find what values are allowed to pass.
Trait Implementations§
§impl From<W<ERR_WARNING_LIMIT_SPEC>> for W
impl From<W<ERR_WARNING_LIMIT_SPEC>> for W
§fn from(writer: W<ERR_WARNING_LIMIT_SPEC>) -> W
fn from(writer: W<ERR_WARNING_LIMIT_SPEC>) -> W
Converts to this type from the input type.