KETCube
Data Structures | Typedefs | Enumerations | Functions
ketCube_resetMan.h File Reference

This file contains the KETCube core reset management configuration defs. More...

#include "ketCube_cfg.h"
#include "ketCube_mcu.h"

Go to the source code of this file.

Data Structures

struct  ketCube_resetMan_dbg_t
 KETCube reset-dbg information. More...
 
struct  ketCube_resetMan_t
 KETCube RESET manager info struct. More...
 

Typedefs

typedef enum ketCube_resetMan_reason_t ketCube_resetMan_reason_t
 KETCube reset reason list. More...
 
typedef struct ketCube_resetMan_dbg_t ketCube_resetMan_dbg_t
 KETCube reset-dbg information. More...
 
typedef struct ketCube_resetMan_t ketCube_resetMan_t
 KETCube RESET manager info struct. More...
 

Enumerations

enum  ketCube_resetMan_reason_t {
  KETCUBE_RESETMAN_REASON_UNKNOWN, KETCUBE_RESETMAN_REASON_LOW_POWER, KETCUBE_RESETMAN_REASON_WWDG, KETCUBE_RESETMAN_REASON_IWDG,
  KETCUBE_RESETMAN_REASON_EXTPIN, KETCUBE_RESETMAN_REASON_POR, KETCUBE_RESETMAN_REASON_BOR, KETCUBE_RESETMAN_REASON_USER_RQ,
  KETCUBE_RESETMAN_REASON_USER_REMOTE_TERM, KETCUBE_RESETMAN_REASON_ERROR_HANDLER, KETCUBE_RESETMAN_REASON_PORSW, KETCUBE_RESETMAN_REASON_HARDFAULT
}
 KETCube reset reason list. More...
 

Functions

void ketCube_resetMan_requestReset (ketCube_resetMan_reason_t reason)
 Request software reset. More...
 
void ketCube_resetMan_info (void)
 Provide reset reasoning to user if necessary. More...
 
void ketCube_resetMan_getResetCause (void)
 Get RESET reason. More...
 

Detailed Description

This file contains the KETCube core reset management configuration defs.

Author
Jan Belohoubek
Version
0.2
Date
2020-05-15
Attention

© Copyright (c) 2018 - 2020 University of West Bohemia in Pilsen All rights reserved.

Developed by: The SmartCampus Team Department of Technologies and Measurement www.smartcampus.cz | www.zcu.cz

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal with the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE.