#[repr(transparent)]pub struct Intctrl(pub u16);Expand description
Interrupt Control Register.
Tuple Fields§
§0: u16Implementations§
Source§impl Intctrl
impl Intctrl
Sourcepub const fn set_sabie(&mut self, val: Sabie)
pub const fn set_sabie(&mut self, val: Sabie)
Simultaneous PHASEA and PHASEB Change Interrupt Enable.
Sourcepub const fn sabirq(&self) -> Sabirq
pub const fn sabirq(&self) -> Sabirq
Simultaneous PHASEA and PHASEB Change Interrupt Request. Write one to clear; avoid acknowledging other pending flags.
Sourcepub const fn set_sabirq(&mut self, val: Sabirq)
pub const fn set_sabirq(&mut self, val: Sabirq)
Simultaneous PHASEA and PHASEB Change Interrupt Request. Write one to clear; avoid acknowledging other pending flags.
Sourcepub const fn dirirq(&self) -> Dirirq
pub const fn dirirq(&self) -> Dirirq
Count direction change interrupt. Write one to clear; avoid acknowledging other pending flags.
Sourcepub const fn set_dirirq(&mut self, val: Dirirq)
pub const fn set_dirirq(&mut self, val: Dirirq)
Count direction change interrupt. Write one to clear; avoid acknowledging other pending flags.
Sourcepub const fn ruirq(&self) -> Ruirq
pub const fn ruirq(&self) -> Ruirq
Roll-under Interrupt Request. Write one to clear; avoid acknowledging other pending flags.
Sourcepub const fn set_ruirq(&mut self, val: Ruirq)
pub const fn set_ruirq(&mut self, val: Ruirq)
Roll-under Interrupt Request. Write one to clear; avoid acknowledging other pending flags.
Sourcepub const fn roirq(&self) -> Roirq
pub const fn roirq(&self) -> Roirq
Roll-over Interrupt Request. Write one to clear; avoid acknowledging other pending flags.
Sourcepub const fn set_roirq(&mut self, val: Roirq)
pub const fn set_roirq(&mut self, val: Roirq)
Roll-over Interrupt Request. Write one to clear; avoid acknowledging other pending flags.
Sourcepub const fn set_cmp0ie(&mut self, val: Cmp0ie)
pub const fn set_cmp0ie(&mut self, val: Cmp0ie)
Compare 0 Interrupt Enable.
Sourcepub const fn cmp0irq(&self) -> Cmp0irq
pub const fn cmp0irq(&self) -> Cmp0irq
Compare 0 Interrupt Request. Write one to clear; avoid acknowledging other pending flags.
Sourcepub const fn set_cmp0irq(&mut self, val: Cmp0irq)
pub const fn set_cmp0irq(&mut self, val: Cmp0irq)
Compare 0 Interrupt Request. Write one to clear; avoid acknowledging other pending flags.
Sourcepub const fn set_cmp1ie(&mut self, val: Cmp1ie)
pub const fn set_cmp1ie(&mut self, val: Cmp1ie)
Compare1 Interrupt Enable.
Sourcepub const fn cmp1irq(&self) -> Cmp1irq
pub const fn cmp1irq(&self) -> Cmp1irq
Compare1 Interrupt Request. Write one to clear; avoid acknowledging other pending flags.
Sourcepub const fn set_cmp1irq(&mut self, val: Cmp1irq)
pub const fn set_cmp1irq(&mut self, val: Cmp1irq)
Compare1 Interrupt Request. Write one to clear; avoid acknowledging other pending flags.
Sourcepub const fn set_cmp2ie(&mut self, val: Cmp2ie)
pub const fn set_cmp2ie(&mut self, val: Cmp2ie)
Compare2 Interrupt Enable.
Sourcepub const fn cmp2irq(&self) -> Cmp2irq
pub const fn cmp2irq(&self) -> Cmp2irq
Compare2 Interrupt Request. Write one to clear; avoid acknowledging other pending flags.
Sourcepub const fn set_cmp2irq(&mut self, val: Cmp2irq)
pub const fn set_cmp2irq(&mut self, val: Cmp2irq)
Compare2 Interrupt Request. Write one to clear; avoid acknowledging other pending flags.
Sourcepub const fn set_cmp3ie(&mut self, val: Cmp3ie)
pub const fn set_cmp3ie(&mut self, val: Cmp3ie)
Compare3 Interrupt Enable.
Sourcepub const fn cmp3irq(&self) -> Cmp3irq
pub const fn cmp3irq(&self) -> Cmp3irq
Compare3 Interrupt Request. Write one to clear; avoid acknowledging other pending flags.
Sourcepub const fn set_cmp3irq(&mut self, val: Cmp3irq)
pub const fn set_cmp3irq(&mut self, val: Cmp3irq)
Compare3 Interrupt Request. Write one to clear; avoid acknowledging other pending flags.