#include <stdint.h>
#include <stdbool.h>
#include <stdio.h>
#include "board.h"
#include "fsl_cmp_driver.h"
#include "fsl_device_registers.h"
#include "fsl_debug_console.h"
|
int | main (void) |
| Compare analog input to reference DAC output. This function compares analog input (SW1) to reference DAC output to control a LED If the analog input higher than DAC output, led is turned on otherwise led is turned off. More...
|
|
void | CMP_UserIsr (void) |
| The user-defined ISR. More...
|
|
void CMP_UserIsr |
( |
void |
| ) |
|
Function prototype for main function.
- Parameters
-
receiveBuff | Buffer used to hold received data |
volatile bool bFallingEvent |
volatile bool bRisingEvent |