#include <stdio.h>
#include <stdlib.h>
#include "board.h"
#include "fsl_cadc_driver.h"
#include "fsl_debug_console.h"
|
int | main (void) |
| Function prototype for main function. More...
|
|
Function prototype for main function.
Function prototype for main function.
This function used the input of user as trigger to start the measurement. When user press any key, the conversion will begin, then print converted value and current temperature of the chip.
Function prototype for main function.
Run a simple application which enables watchdog, then continuously refreshes the watchdog to prevent CPU reset Upon SW1 button push, the watchdog will expire after approximately 1 seconds and chip will reset.
- Parameters
-
receiveBuff | Buffer used to hold received data |
cadc_chn_config_t g_AdcChnConfigStruct |
cadc_conv_config_t g_AdcConvConfigStruct |
cadc_slot_config_t g_AdcSlotConfigStruct |
cadc_user_config_t g_AdcUserConfigStruct |