Type Alias R

Source
pub type R = R<MTIMECTL_SPEC>;
Expand description

Register MTIMECTL reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn mtce(&self) -> MTCE_R

Bit 0 - Configures whether to enable the CLINT timer counter.

Source

pub fn mtie(&self) -> MTIE_R

Bit 1 - Write 1 to enable the machine timer interrupt.

Source

pub fn mtip(&self) -> MTIP_R

Bit 2 - Represents the pending status of the machine timer interrupt.

Source

pub fn mtof(&self) -> MTOF_R

Bit 3 - Configures whether the machine timer overflows.