pub struct IntervalTimer {
pub status: bool,
pub PIT_id: u8,
pub PIT_LDVAL: *mut u32,
pub PIT_TCTRL: *mut u32,
pub IRQ_PIT_CH: u8,
pub nvic_priority: u8,
pub myISR: Option<unsafe extern fn()>,
}
Fields
status: bool
PIT_id: u8
PIT_LDVAL: *mut u32
PIT_TCTRL: *mut u32
IRQ_PIT_CH: u8
nvic_priority: u8
myISR: Option<unsafe extern fn()>
Methods
unsafe fn begin(&mut self, newISR: Option<unsafe extern fn()>, newPeriod: u32) -> bool
unsafe fn begin1(&mut self, newISR: Option<unsafe extern fn()>, newPeriod: i32) -> bool
unsafe fn begin2(&mut self, newISR: Option<unsafe extern fn()>, newPeriod: u32) -> bool
unsafe fn begin3(&mut self, newISR: Option<unsafe extern fn()>, newPeriod: i32) -> bool
unsafe fn begin4(&mut self, newISR: Option<unsafe extern fn()>, newPeriod: f32) -> bool
unsafe fn begin5(&mut self, newISR: Option<unsafe extern fn()>, newPeriod: f64) -> bool
unsafe fn end(&mut self)
unsafe fn priority(&mut self, n: u8)
Trait Implementations
Formats the value using the given formatter.