lpcmp_round_robin

Overview

The LPCMP round robin example is a simple demonstration program that uses the LPCMP driver to help users get started quickly. In this example, users need to specify which port and channel to fix, and which channels to select as checker channels. Before doing the comparison, it is necessary to preset the comparison result of each checker channel with the fixed channel. If any results of the comparator are different from the preset value, an interrupt will be triggered, and the information of the triggered channel will be printed on the terminal after changing the input voltage of checker channels.

Supported Boards