Type Definition lpc81x_pac::lpc811::swm0::pinenable0::CLKIN_W

source ·
pub type CLKIN_W<'a, const O: u8> = BitWriter<'a, u32, PINENABLE0_SPEC, CLKIN_A, O>;
Expand description

Field CLKIN writer - 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 CLKIN, disable ACMP_I2 in bit 1 of this register and enable CLKIN.

Implementations§

Enable CLKIN. This function is enabled on pin PIO0_1.

Disable CLKIN. GPIO function PIO0_1 (default) or any other movable function can be assigned to pin CLKIN.