Type Alias xmc4800::ecat0::err_led::LedCodeW

source ·
pub type LedCodeW<'a, REG> = FieldWriter<'a, REG, 4, LedCode>;
Expand description

Field LED_CODE writer - LED Code

Aliased Type§

struct LedCodeW<'a, REG> { /* private fields */ }

Implementations§

source§

impl<'a, REG> LedCodeW<'a, REG>
where REG: Writable + RegisterSpec, REG::Ux: From<u8>,

source

pub fn value1(self) -> &'a mut W<REG>

OFF

source

pub fn value2(self) -> &'a mut W<REG>

Blinking

source

pub fn value3(self) -> &'a mut W<REG>

Flickering

source

pub fn value4(self) -> &'a mut W<REG>

On