| BlueNRG-1 Peripherals drivers APIs

- Main Page
- Modules
- Classes
- Files

Functions
Public Functions
BLUENRG1 Peripheral Driver » WDG Peripheral

## 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

## Function Documentation

void WDG_ClearITPendingBit | ( | void |  | ) |

Clears the WDG's interrupt pending bit.

Parameters

  None |

Return values

  None |

Definition at line 197 of file BlueNRG1_wdg.c.

void WDG_Enable | ( | void |  | ) |

Enables WDG reset.

Parameters

  None |

Return values

  None |

Definition at line 139 of file BlueNRG1_wdg.c.

uint32_t WDG_GetCounter | ( | void |  | ) |

Gets the WDG counter value.

Parameters

  None |

Return values

  WDG | counter value.

Definition at line 150 of file BlueNRG1_wdg.c.

ITStatus WDG_GetITStatus | ( | void |  | ) |

Checks whether the WDG interrupt has occurred or not.

Parameters

  None |

Return values

  ITStatus | functional state ITStatus This parameter can be: SET or RESET.

Definition at line 180 of file BlueNRG1_wdg.c.

FunctionalState WDG_GetWriteAccess | ( | void |  | ) |

Get the write access state.

Parameters

  None |

Return values

  NewState | functional state FunctionalState This parameter can be: ENABLE or DISABLE.

Definition at line 115 of file BlueNRG1_wdg.c.

void WDG_ITConfig | ( | FunctionalState | NewState | ) |

Enables or disables the WDG interrupt.

Parameters

  NewState | functional state FunctionalState This parameter can be: ENABLE or DISABLE.

Return values

  None |

Definition at line 161 of file BlueNRG1_wdg.c.

void WDG_SetReload | ( | uint32_t | WDG_Reload | ) |

Sets WDG reload value.

Parameters

  WDG_Reload | specifies the WDG reload value. This parameter must be a number greater than 0.

Return values

  None |

Definition at line 127 of file BlueNRG1_wdg.c.

void WDG_SetWriteAccess | ( | FunctionalState | NewState | ) |

Enables or disables write access to all the other WDG registers.

Parameters

  NewState | functional state FunctionalState This parameter can be: ENABLE or DISABLE.

Return values

  None |

Definition at line 95 of file BlueNRG1_wdg.c.