| BlueNRG-1 Peripherals drivers APIs

- Main Page
- Modules
- Classes
- Files

- File List
- File Members

BlueNRG1_wdg.h
Go to the documentation of this file.
1
23 /* Define to prevent recursive inclusion -------------------------------------*/
24 #ifndef BLUENRG1_WDG_H
25 #define BLUENRG1_WDG_H
26
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
30
31 /* Includes ------------------------------------------------------------------*/
32 #include "BlueNRG1.h"
33
69 void WDG_SetWriteAccess(FunctionalState NewState);
70 FunctionalState WDG_GetWriteAccess(void);
71 void WDG_SetReload(uint32_t WDG_Reload);
72 uint32_t WDG_GetCounter(void);
73 void WDG_Enable(void);
74 void WDG_ITConfig(FunctionalState NewState);
75 ITStatus WDG_GetITStatus(void);
76 void WDG_ClearITPendingBit(void);
77
90 #ifdef __cplusplus
91 }
92 #endif
93
94 #endif /* BLUENRG1_WDG_H */
95
96 /******************* (C) COPYRIGHT 2016 STMicroelectronics *****END OF FILE****/
WDG_GetWriteAccess
FunctionalState WDG_GetWriteAccess(void)
Get the write access state.
Definition: BlueNRG1_wdg.c:115
WDG_SetReload
void WDG_SetReload(uint32_t WDG_Reload)
Sets WDG reload value.
Definition: BlueNRG1_wdg.c:127
WDG_ITConfig
void WDG_ITConfig(FunctionalState NewState)
Enables or disables the WDG interrupt.
Definition: BlueNRG1_wdg.c:161
WDG_GetCounter
uint32_t WDG_GetCounter(void)
Gets the WDG counter value.
Definition: BlueNRG1_wdg.c:150
WDG_ClearITPendingBit
void WDG_ClearITPendingBit(void)
Clears the WDG's interrupt pending bit.
Definition: BlueNRG1_wdg.c:197
WDG_Enable
void WDG_Enable(void)
Enables WDG reset.
Definition: BlueNRG1_wdg.c:139
WDG_GetITStatus
ITStatus WDG_GetITStatus(void)
Checks whether the WDG interrupt has occurred or not.
Definition: BlueNRG1_wdg.c:180
WDG_SetWriteAccess
void WDG_SetWriteAccess(FunctionalState NewState)
Enables or disables write access to all the other WDG registers.
Definition: BlueNRG1_wdg.c:95