ACMP Pin description

The analog comparator reference voltage, the inputs, and the output are assigned to external pins through the switch matrix. You can assign the analog comparator output to any pin on the package that is not a supply or ground pin. The comparator inputs and the reference voltage are fixed-pin functions that must be enabled through the switch matrix and can only be assigned to special pins on the package.

See SWM Connect an internal signal to a package pin to assign the analog comparator output to any pin on the LPC81x package.

See SWM Enable an analog input or other special function to enable the analog comparator inputs and the reference voltage input.

Table 1. ACMP Analog comparator pin description
Function Type Pin Description SWM register Reference
ACMP_I1 I PIO0_0/ACMP_I1 Comparator input 1 PINENABLE0 SWM PINENABLE0 addressOffset = 0x1C0
ACMP_I2 I PIO0_1/ACMP_I2/CLKIN Comparator input 2. Disable the CLKIN function in the PINENABLE0 register. PINENABLE0 SWM PINENABLE0 addressOffset = 0x1C0
ACMP_O O any Comparator output PINASSIGN8 SWM PINASSIGN8 addressOffset = 0x020
VDDCMP I PIO0_6/VDDCMP External reference voltage source for 32-stage Voltage Ladder. PINENABLE0 SWM PINENABLE0 addressOffset = 0x1C0

-->