Enum nrf52832_pac::pdm::mode::EDGER
source · pub enum EDGER {
LEFTFALLING,
LEFTRISING,
}
Expand description
Possible values of the field EDGE
Variants§
LEFTFALLING
Left (or mono) is sampled on falling edge of PDM_CLK
LEFTRISING
Left (or mono) is sampled on rising edge of PDM_CLK
Implementations§
source§impl EDGER
impl EDGER
sourcepub fn bit_is_clear(&self) -> bool
pub fn bit_is_clear(&self) -> bool
Returns true
if the bit is clear (0)
sourcepub fn bit_is_set(&self) -> bool
pub fn bit_is_set(&self) -> bool
Returns true
if the bit is set (1)
sourcepub fn is_left_falling(&self) -> bool
pub fn is_left_falling(&self) -> bool
Checks if the value of the field is LEFTFALLING
sourcepub fn is_left_rising(&self) -> bool
pub fn is_left_rising(&self) -> bool
Checks if the value of the field is LEFTRISING