Robobo
trng.h
Go to the documentation of this file.
1 
44 #ifndef TRNG_H_INCLUDED
45 #define TRNG_H_INCLUDED
46 
47 #include "../chip.h"
48 
50 
51 #ifdef __cplusplus
52 extern "C" {
53 #endif
54 
55 
57 void trng_enable(Trng *p_trng);
58 void trng_disable(Trng *p_trng);
59 void trng_enable_interrupt(Trng *p_trng);
60 void trng_disable_interrupt(Trng *p_trng);
61 uint32_t trng_get_interrupt_mask(Trng *p_trng);
62 uint32_t trng_get_interrupt_status(Trng *p_trng);
63 uint32_t trng_read_output_data(Trng *p_trng);
64 
66 
67 #ifdef __cplusplus
68 }
69 #endif
70 
71 
73 #endif /* TRNG_H_INCLUDED */
Trng hardware registers.
Definition: component_trng.h:41