[][src]Type Definition lpc55_pac::sct0::out::out_set::W

type W = W<u32, OUT_SET>;

Writer for register OUT_SET

Implementations

impl W[src]

pub fn set(&mut self) -> SET_W<'_>[src]

Bits 0:15 - A 1 in bit m selects event m to set output n (or clear it if SETCLRn = 0x1 or 0x2) output 0 = bit 0, output 1 = bit 1, etc. The number of bits = number of events in this SCT. When the counter is used in bi-directional mode, it is possible to reverse the action specified by the output set and clear registers when counting down, See the OUTPUTCTRL register.