IoT Supervisor 0.0
|
#include <stdint.h>
#include <stdbool.h>
Go to the source code of this file.
Data Structures | |
struct | cfg_t |
This struct is a storage type for flash memory. More... | |
union | sv_dev_sta_t |
Macros | |
#define | C_WDT_PET 0x5A |
#define | C_WDT_DIS 0xA5 |
#define | C_CMD_COMMIT 0x5FAF |
#define | C_CMD_CANCEL 0x0000 |
#define | C_SID_MIN 1 |
#define | C_SID_MAX 247 |
#define | t1Count_t uint16_t |
Enumerations | |
enum | VinSm_t { eVIN_Init = 0 , eVIN_VLow , eVIN_OK } |
enum | mbWDTsmS_t { eMW_Ini = 0 , eMW_En , eMW_Timeout } |
enum | LastRst_t { eLR_Init = 0 , eLR_VSM , eLR_WDT } |
enum | VerifSt_t { eVS_Norm = 0 , eVS_Cfg , eVS_Prog , eVS_Setup } |
enum | CfgSM_t { eCFG_Idle = 0 , eCFG_Load , eCFG_Cache , eCFG_Commit , eCFG_Erase , eCFG_Write } |
Functions | |
void | VinSm (void) |
void | mbWDTsm (void) |
Variables | |
bool | sys_ok |
volatile t1Count_t | t1Count |
volatile bool | cprif |
volatile uint8_t | t0Count |
uint8_t | T0C_TOP |
sv_dev_sta_t | sv_dev_sta |
bool | mbWDTen |
bool | mbWDTpet |
uint8_t | MB_WD_TIMEOUT |
bool | pw_flag |
bool | dir_tx |
uint16_t | pw |
cfg_t | cfg |
CfgSM_t | cfgSmS |
This file contains globals that are used throughout this application. (Or at least from the main file and the interrupts...)
Definition in file IoT_Supervisor.h.
#define t1Count_t uint16_t |
Definition at line 36 of file IoT_Supervisor.h.