[−][src]Type Definition lpc55s6x_pac::ctimer0::emr::W
type W = W<u32, EMR>;
Writer for register EMR
Methods
impl W
[src]
pub fn em0(&mut self) -> EM0_W
[src]
Bit 0 - External Match 0. This bit reflects the state of output MAT0, whether or not this output is connected to a pin. When a match occurs between the TC and MR0, this bit can either toggle, go LOW, go HIGH, or do nothing, as selected by EMR[5:4]. This bit is driven to the MAT pins if the match function is selected via IOCON. 0 = LOW. 1 = HIGH.
pub fn em1(&mut self) -> EM1_W
[src]
Bit 1 - External Match 1. This bit reflects the state of output MAT1, whether or not this output is connected to a pin. When a match occurs between the TC and MR1, this bit can either toggle, go LOW, go HIGH, or do nothing, as selected by EMR[7:6]. This bit is driven to the MAT pins if the match function is selected via IOCON. 0 = LOW. 1 = HIGH.
pub fn em2(&mut self) -> EM2_W
[src]
Bit 2 - External Match 2. This bit reflects the state of output MAT2, whether or not this output is connected to a pin. When a match occurs between the TC and MR2, this bit can either toggle, go LOW, go HIGH, or do nothing, as selected by EMR[9:8]. This bit is driven to the MAT pins if the match function is selected via IOCON. 0 = LOW. 1 = HIGH.
pub fn em3(&mut self) -> EM3_W
[src]
Bit 3 - External Match 3. This bit reflects the state of output MAT3, whether or not this output is connected to a pin. When a match occurs between the TC and MR3, this bit can either toggle, go LOW, go HIGH, or do nothing, as selected by MR[11:10]. This bit is driven to the MAT pins if the match function is selected via IOCON. 0 = LOW. 1 = HIGH.
pub fn emc0(&mut self) -> EMC0_W
[src]
Bits 4:5 - External Match Control 0. Determines the functionality of External Match 0.
pub fn emc1(&mut self) -> EMC1_W
[src]
Bits 6:7 - External Match Control 1. Determines the functionality of External Match 1.
pub fn emc2(&mut self) -> EMC2_W
[src]
Bits 8:9 - External Match Control 2. Determines the functionality of External Match 2.
pub fn emc3(&mut self) -> EMC3_W
[src]
Bits 10:11 - External Match Control 3. Determines the functionality of External Match 3.