|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
Clock Accuracy Check (CAC) register layout for the Renesas RA8D2. More...
#include <stdint.h>Go to the source code of this file.
Data Structures | |
| struct | r_cac_regs_t |
Enumerations | |
| enum | ra8_cac_addr_t : uintptr_t { k_ra8_cac_base_addr = 0x40202400UL } |
Functions | |
| static volatile r_cac_regs_t * | ra8_cac (void) |
| Get pointer to the CAC block. | |
Clock Accuracy Check (CAC) register layout for the Renesas RA8D2.
The CAC compares a reference clock (external crystal / pin) against a measurement clock (HOCO / MOCO / PLL output) and raises an error interrupt if the two drift apart by more than a programmed tolerance. Used by the CGC driver to validate that the PLL output is really at the target frequency after bring-up.
Definition in file ra8_cac_regs.h.
| enum ra8_cac_addr_t : uintptr_t |
| Enumerator | |
|---|---|
| k_ra8_cac_base_addr | RA8 cac base address. |
Definition at line 25 of file ra8_cac_regs.h.
|
inlinestatic |
Get pointer to the CAC block.
Definition at line 42 of file ra8_cac_regs.h.
References k_ra8_cac_base_addr.
Referenced by internal_configure(), ra8_cac_clear_status(), ra8_cac_deinit(), ra8_cac_dispatch(), ra8_cac_enter_stop(), ra8_cac_get_status(), ra8_cac_init(), and ra8_cac_measure().