DIY Logging Volt/Ampmeter
Exported_types

Macros

#define IS_FUNCTIONAL_STATE(STATE)   (((STATE) == DISABLE) || ((STATE) == ENABLE))
 

Typedefs

typedef enum FlagStatus ITStatus
 

Enumerations

enum  FlagStatus { RESET = 0, SET = !RESET }
 
enum  FunctionalState { DISABLE = 0, ENABLE = !DISABLE }
 
enum  ErrorStatus { SUCCESS = 0U, ERROR = !SUCCESS }
 

Detailed Description

Macro Definition Documentation

◆ IS_FUNCTIONAL_STATE

#define IS_FUNCTIONAL_STATE (   STATE)    (((STATE) == DISABLE) || ((STATE) == ENABLE))

Definition at line 162 of file stm32f1xx.h.

Typedef Documentation

◆ ITStatus

typedef enum FlagStatus ITStatus

Enumeration Type Documentation

◆ ErrorStatus

Enumerator
SUCCESS 
ERROR 

Definition at line 164 of file stm32f1xx.h.

165 {
166  SUCCESS = 0U,
167  ERROR = !SUCCESS
168 } ErrorStatus;

◆ FlagStatus

enum FlagStatus
Enumerator
RESET 
SET 

Definition at line 151 of file stm32f1xx.h.

152 {
153  RESET = 0,
154  SET = !RESET

◆ FunctionalState

Enumerator
DISABLE 
ENABLE 

Definition at line 157 of file stm32f1xx.h.

158 {
159  DISABLE = 0,
160  ENABLE = !DISABLE
ERROR
@ ERROR
Definition: stm32f1xx.h:167
DISABLE
@ DISABLE
Definition: stm32f1xx.h:159
ENABLE
@ ENABLE
Definition: stm32f1xx.h:160
RESET
@ RESET
Definition: stm32f1xx.h:153
SET
@ SET
Definition: stm32f1xx.h:154
FlagStatus
FlagStatus
Definition: stm32f1xx.h:151
SUCCESS
@ SUCCESS
Definition: stm32f1xx.h:166
ErrorStatus
ErrorStatus
Definition: stm32f1xx.h:164
FunctionalState
FunctionalState
Definition: stm32f1xx.h:157
ITStatus
enum FlagStatus ITStatus