ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
ra8_cac_regs.h File Reference

Clock Accuracy Check (CAC) register layout for the Renesas RA8D2. More...

#include <stdint.h>
Include dependency graph for ra8_cac_regs.h:
This graph shows which files directly or indirectly include this file:

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_tra8_cac (void)
 Get pointer to the CAC block.

Detailed Description

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.

Enumeration Type Documentation

◆ ra8_cac_addr_t

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.

Function Documentation

◆ ra8_cac()

volatile r_cac_regs_t * ra8_cac ( void )
inlinestatic