ECE 486 Support Libraries
|
Implementation of error handling routines for ECE 486. More...
#include "stm32l4xx_hal.h"
#include "stm32l476g_discovery.h"
#include "err486.h"
#include "init486.h"
#include "stm32l476g_discovery_glass_lcd.h"
Go to the source code of this file.
Functions | |
static void | print_error (int index) |
void | initerror () |
Initialization routine to set up error buffers. More... | |
void | flagerror (int errorcode) |
Records and indicates an error condition. More... | |
Variables | |
enum Num_Channels_Out | Output_Configuration |
enum Num_Channels_In | Input_Configuration |
int | errorbuf [ERRORBUFLEN] |
Circular buffer to store the most recent error codes. More... | |
int | first_error =0 |
int | erroridx = 0 |
Index of the NEXT error to be written into the errorbuf array. More... | |
enum Num_Channels_In Input_Configuration |
enum Num_Channels_Out Output_Configuration |