Enum lpc81x_pac::lpc812::swm0::pinenable0::ACMP_I2_A
source · pub enum ACMP_I2_A {
ACMP_I2_0,
ACMP_I2_1,
}
Expand description
Enables fixed-pin function. Writing a 1 deselects the function and any movable function can be assigned to this pin. By default the fixed-pin function is deselected and GPIO is assigned to this pin. Functions CLKIN and ACMP_I2 are connected to the same pin PIO0_1. To use ACMP_I2, disable the CLKIN function in bit 7 of this register and enable ACMP_I2.
Value on reset: 1
Variants§
ACMP_I2_0
0: Enable ACMP_I2. This function is enabled on pin PIO0_1.
ACMP_I2_1
1: Disable ACMP_I2. GPIO function PIO0_1 (default) or any other movable function can be assigned to pin PIO0_1.