Type Alias avr_device::attiny85::exint::mcucr::ISC0_W

source ·
pub type ISC0_W<'a, const O: u8> = FieldWriterSafe<'a, u8, MCUCR_SPEC, u8, ISC0_A, 2, O>;
Expand description

Field ISC0 writer - Interrupt Sense Control 0 bits

Aliased Type§

struct ISC0_W<'a, const O: u8> { /* private fields */ }

Implementations§

source§

impl<'a, const O: u8> ISC0_W<'a, O>

source

pub fn low(self) -> &'a mut W

The low level of INTx generates an interrupt request

source

pub fn toggle(self) -> &'a mut W

Any logical change on INTx generates an interrupt request

source

pub fn falling(self) -> &'a mut W

The falling edge of INTx generates an interrupt request

source

pub fn rising(self) -> &'a mut W

The rising edge of INTx generates an interrupt request