| BlueNRG-1 Peripherals drivers Examples

- Main Page
- Modules
- Classes
- Files

Macros | Functions
Watchdog WakeUp
BlueNRG1 Standard Peripheral Examples » Watchdog Examples

## Macros

#define | RC32K_FREQ 32768
#define | RELOAD_TIME(sec) ((sec*RC32K_FREQ)-3)

## Functions

void | WDG_Configuration (void)
| NVIC configuration. More...
int | main (void)
| Main program code. More...

## Detailed Description

## Macro Definition Documentation

#define RC32K_FREQ 32768

Set the watchdog reload interval in [s] = (WDT_LOAD + 3) / (clock frequency in Hz).

Definition at line 180 of file WDG_Wakeup_main.c.

#define RELOAD_TIME | ( |  | sec | ) | ((sec*RC32K_FREQ)-3)

Definition at line 181 of file WDG_Wakeup_main.c.

## Function Documentation

int main | ( | void |  | ) |

Main program code.

Parameters

  None |

Return values

  None |

Definition at line 194 of file WDG_Wakeup_main.c.

void WDG_Configuration | ( | void |  | ) |

NVIC configuration.

Parameters

  None |

Return values

  None |

Definition at line 231 of file WDG_Wakeup_main.c.