pub struct Nvic { /* private fields */ }Implementations§
Source§impl Nvic
impl Nvic
Sourcepub fn set_priority(&mut self, it: Interrupt, priority: u8, disable: bool)
pub fn set_priority(&mut self, it: Interrupt, priority: u8, disable: bool)
§Parameters
it: interrupt linepriority: includes 0 ~ 15, The smaller the number, the higher the priority. It combines preemption and sub priority based on the grouping.disable: disable the interrupt, in case it’s activated before you are ready.