Type Alias xmc4800::eru0::exocon::GP_W

source ·
pub type GP_W<'a, REG> = FieldWriter<'a, REG, 2, GP_A, Safe>;
Expand description

Field GP writer - Gating Selection for Pattern Detection Result

Aliased Type§

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

Implementations§

source§

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

source

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

ERU_GOUTy is always disabled and ERU_IOUTy can not be activated

source

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

ERU_GOUTy is always enabled and ERU_IOUTy becomes activated with each activation of ERU_TOUTy

source

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

ERU_GOUTy is equal to ERU_PDOUTy and ERU_IOUTy becomes activated with an activation of ERU_TOUTy while the desired pattern is detected (pattern match PDR = 1)

source

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

ERU_GOUTy is inverted to ERU_PDOUTy and ERU_IOUTy becomes activated with an activation of ERU_TOUTy while the desired pattern is not detected (pattern miss PDR = 0)