#[repr(transparent)]struct TPR(u32);
Expand description
Task Priority Register, R/W
Tuple Fields§
§0: u32
Implementations§
source§impl TPR
impl TPR
const TASK_PRIO_SUB_BITS: usize = 4usize
const TASK_PRIO_SUB_OFFSET: usize = 0usize
sourceconst fn with_task_prio_sub(self, value: u8) -> Self
const fn with_task_prio_sub(self, value: u8) -> Self
Bits: 0..4
sourceconst fn task_prio_sub(&self) -> u8
const fn task_prio_sub(&self) -> u8
Bits: 0..4
sourcefn set_task_prio_sub(&mut self, value: u8)
fn set_task_prio_sub(&mut self, value: u8)
Bits: 0..4
const TASK_PRIO_BITS: usize = 4usize
const TASK_PRIO_OFFSET: usize = 4usize
sourceconst fn with_task_prio(self, value: u8) -> Self
const fn with_task_prio(self, value: u8) -> Self
Bits: 4..8
sourcefn set_task_prio(&mut self, value: u8)
fn set_task_prio(&mut self, value: u8)
Bits: 4..8