API for SAM TRNG.
Copyright (c) 2011-2018 Microchip Technology Inc. and its subsidiaries.
#include "compiler.h"
Macros | |
#define | TRNG_CR_KEY_PASSWD TRNG_CR_KEY(0x524E47) |
Key to unlock TRNG_CR register. More... | |
Functions | |
void | trng_disable (Trng *p_trng) |
Disable TRNG. More... | |
void | trng_disable_interrupt (Trng *p_trng) |
Disable TRNG interrupt. More... | |
void | trng_enable (Trng *p_trng) |
Enable TRNG. More... | |
void | trng_enable_interrupt (Trng *p_trng) |
Enable TRNG interrupt. More... | |
uint32_t | trng_get_interrupt_mask (Trng *p_trng) |
Get TRNG interrupt mask. More... | |
uint32_t | trng_get_interrupt_status (Trng *p_trng) |
Get TRNG interrupt status. More... | |
uint32_t | trng_read_output_data (Trng *p_trng) |
Read TRNG output data. More... | |
#define TRNG_CR_KEY_PASSWD TRNG_CR_KEY(0x524E47) |
Key to unlock TRNG_CR register.
Referenced by trng_disable(), and trng_enable().