Type Alias xmc4800::eru0::exocon::GpR

source ·
pub type GpR = FieldReader<Gp>;
Expand description

Field GP reader - Gating Selection for Pattern Detection Result

Aliased Type§

struct GpR { /* private fields */ }

Implementations§

source§

impl GpR

source

pub const fn variant(&self) -> Gp

Get enumerated values variant

source

pub fn is_value1(&self) -> bool

ERU_GOUTy is always disabled and ERU_IOUTy can not be activated

source

pub fn is_value2(&self) -> bool

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

source

pub fn is_value3(&self) -> bool

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 is_value4(&self) -> bool

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)