| BlueNRG-1 Peripherals drivers APIs

- Main Page
- Modules
- Classes
- Files

- File List
- File Members

Macros | Functions
BlueNRG1_wdg.c File Reference

This file provides all the WDG firmware functions. More...

`#include "BlueNRG1_wdg.h"`

Go to the source code of this file.

## Macros

#define | WDG_WRITE_ACCESS_UNLOCK ((uint32_t)0x1ACCE551)
#define | WDG_WRITE_ACCESS_LOCK ((uint32_t)0x00000000)

## Functions

void | WDG_SetWriteAccess (FunctionalState NewState)
| Enables or disables write access to all the other WDG registers. More...
FunctionalState | WDG_GetWriteAccess (void)
| Get the write access state. More...
void | WDG_SetReload (uint32_t WDG_Reload)
| Sets WDG reload value. More...
void | WDG_Enable (void)
| Enables WDG reset. More...
uint32_t | WDG_GetCounter (void)
| Gets the WDG counter value. More...
void | WDG_ITConfig (FunctionalState NewState)
| Enables or disables the WDG interrupt. More...
ITStatus | WDG_GetITStatus (void)
| Checks whether the WDG interrupt has occurred or not. More...
void | WDG_ClearITPendingBit (void)
| Clears the WDG's interrupt pending bit. More...

## Detailed Description

This file provides all the WDG firmware functions.

Author
  VMA Application Team

Version
  V2.0.0

Date
  21-March-2016

Attention

THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.

##
© COPYRIGHT 2015 STMicroelectronics

Definition in file BlueNRG1_wdg.c.