29typedef volatile struct __attribute__((packed,aligned(4))) {
34#define NEORV32_TRNG ((neorv32_trng_t*) (NEORV32_TRNG_BASE))
NEORV32_TRNG_CTRL_enum
Definition neorv32_trng.h:37
@ TRNG_CTRL_EN
Definition neorv32_trng.h:47
@ TRNG_CTRL_VALID
Definition neorv32_trng.h:48
@ TRNG_CTRL_DATA_LSB
Definition neorv32_trng.h:38
@ TRNG_CTRL_FIFO_LSB
Definition neorv32_trng.h:41
@ TRNG_CTRL_FIFO_MSB
Definition neorv32_trng.h:42
@ TRNG_CTRL_DATA_MSB
Definition neorv32_trng.h:39
@ TRNG_CTRL_IRQ_SEL
Definition neorv32_trng.h:44
@ TRNG_CTRL_SIM_MODE
Definition neorv32_trng.h:46
@ TRNG_CTRL_FIFO_CLR
Definition neorv32_trng.h:45
void neorv32_trng_fifo_clear(void)
Definition neorv32_trng.c:72
void neorv32_trng_enable(int irq_sel)
Definition neorv32_trng.c:42
int neorv32_trng_get(uint8_t *data)
Definition neorv32_trng.c:96
int neorv32_trng_check_sim_mode(void)
Definition neorv32_trng.c:117
int neorv32_trng_get_fifo_depth(void)
Definition neorv32_trng.c:83
void neorv32_trng_disable(void)
Definition neorv32_trng.c:63
int neorv32_trng_available(void)
Definition neorv32_trng.c:26
Definition neorv32_trng.h:29
uint32_t CTRL
Definition neorv32_trng.h:30