Functions
IRQ Handler and Callbacks
Peripheral Driver » HAL Driver » RNG » Functions

IRQ Handler and Callback functions. More...

Collaboration diagram for IRQ Handler and Callbacks:

## Functions
void | hal_rng_irq_handler (rng_handle_t *p_rng)
| Handle RNG interrupt request. More...
__weak void | hal_rng_ready_data_callback (rng_handle_t *p_rng, uint32_t random32bit)
| Data Ready callback in non-blocking mode. More...

## Detailed Description

IRQ Handler and Callback functions.

## Function Documentation

## ◆ hal_rng_irq_handler()

void hal_rng_irq_handler | ( | rng_handle_t * | p_rng | ) |

Handle RNG interrupt request.

Parameters

  [in] | p_rng | RNG handle.

## ◆ hal_rng_ready_data_callback()

__weak void hal_rng_ready_data_callback | ( | rng_handle_t * | p_rng,
|  | uint32_t | random32bit
| ) |  |

Data Ready callback in non-blocking mode.

Note
  This function should not be modified. When the callback is needed, the hal_rng_ready_data_callback can be implemented in the user file.

Parameters

  [in] | p_rng | Pointer to a RNG handle which contains the configuration information for the specified RNG module.
  | random32bit | generated random value

Return values

  None |