pub type EDSEL_R = FieldReader<u8, EDSEL_A>;
Expand description

Field EDSEL reader - Edge Detect Select

Implementations§

source§

impl EDSEL_R

source

pub fn variant(&self) -> EDSEL_A

Get enumerated values variant

source

pub fn is_off(&self) -> bool

Checks if the value of the field is OFF

source

pub fn is_posedge(&self) -> bool

Checks if the value of the field is POSEDGE

source

pub fn is_negedge(&self) -> bool

Checks if the value of the field is NEGEDGE

source

pub fn is_bothedges(&self) -> bool

Checks if the value of the field is BOTHEDGES