Type Definition lpc81x_pac::lpc810::mrt0::channel::intval::IVALUE_W

source ·
pub type IVALUE_W<'a, const O: u8> = FieldWriter<'a, u32, INTVAL_SPEC, u32, u32, 31, O>;
Expand description

Field IVALUE writer - 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.