Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Variables
reset.h File Reference
#include "hardware.h"

Go to the source code of this file.

Macros

#define RESET_STATUS_HARDWARE   (1 << 0) /* Hardware Reset */
 
#define RESET_STATUS_WATCHDOG   (1 << 1) /* Watchdog Reset */
 
#define RESET_STATUS_LOWPOWER   (1 << 2) /* Exit from Low Power/Sleep */
 
#define RESET_STATUS_GPIO   (1 << 3) /* GPIO Reset */
 
#define RESET_STATUS_ALL   (0xf)
 

Variables

unsigned int reset_status
 

Macro Definition Documentation

#define RESET_STATUS_ALL   (0xf)

Definition at line 10 of file reset.h.

#define RESET_STATUS_GPIO   (1 << 3) /* GPIO Reset */

Definition at line 9 of file reset.h.

#define RESET_STATUS_HARDWARE   (1 << 0) /* Hardware Reset */

Definition at line 6 of file reset.h.

#define RESET_STATUS_LOWPOWER   (1 << 2) /* Exit from Low Power/Sleep */

Definition at line 8 of file reset.h.

#define RESET_STATUS_WATCHDOG   (1 << 1) /* Watchdog Reset */

Definition at line 7 of file reset.h.

Variable Documentation

unsigned int reset_status

Definition at line 17 of file reset.c.