[][src]Type Definition lpc54606_pac::mrt0::channel::intval::W

type W = W<u32, INTVAL>;

Writer for register INTVAL

Methods

impl W[src]

pub fn ivalue(&mut self) -> IVALUE_W[src]

Bits 0:23 - Time interval load value. This value is loaded into the TIMERn register and the MRT channel n starts counting down from IVALUE -1. If the timer is idle, writing a non-zero value to this bit field starts the timer immediately. If the timer is running, writing a zero to this bit field does the following: If LOAD = 1, the timer stops immediately. If LOAD = 0, the timer stops at the end of the time interval.

pub fn load(&mut self) -> LOAD_W[src]

Bit 31 - Determines how the timer interval value IVALUE -1 is loaded into the TIMERn register. This bit is write-only. Reading this bit always returns 0.