66typedef enum : uint16_t {
91typedef enum : uint32_t {
103typedef enum : uint32_t {
115typedef enum : uint32_t {
131typedef enum : uint32_t {
145typedef enum : uint32_t {
161typedef enum : uint32_t {
174typedef enum : uint8_t {
187typedef enum : uint32_t {
199typedef enum : uint32_t {
211typedef enum : uint8_t {
222typedef enum : uint32_t {
235typedef enum : uint32_t {
251typedef enum : uint8_t {
262typedef enum : uint32_t {
278typedef enum : uint16_t {
300typedef enum : uint16_t {
321typedef enum : uint8_t {
Annotation-attribute framework macros for ra8-firmware.
#define RA8_HW_REGISTER_ACCESS
Mark an MMIO accessor function (returns volatile register pointer).
Graphics LCD Controller (GLCDC) register layout for the RA8D2.
@ k_ra8_mipi_phy_base_addr
RA8 mipi PHY base address.
static volatile uint32_t * ra8_mipi_phy_reg32(ra8_mipi_phy_block_off_t offset)
Pointer to a 32-bit MIPI PHY register at the given offset.
ra8_mipi_phy_tim_byte_shift_t
Generic 8-bit byte-lane shifts used inside DPHYTIM2..5.
@ k_ra8_mipi_phy_tim_shift_b1
Byte 1 (bits 15:8).
@ k_ra8_mipi_phy_tim_shift_b2
Byte 2 (bits 23:16).
@ k_ra8_mipi_phy_tim_shift_b0
Byte 0 (bits 7:0).
@ k_ra8_mipi_phy_tim_shift_b3
Byte 3 (bits 31:24).
ra8_mipi_phy_block_off_t
32-bit register offsets inside the MIPI PHY window.
@ k_ra8_mipi_phy_off_plocr
+0x008 DPHYPLOCR – PLL op ctrl.
@ k_ra8_mipi_phy_off_tim3
+0x02C DPHYTIM3 – THS PREP/SETT.
@ k_ra8_mipi_phy_off_tim4
+0x030 DPHYTIM4 – TCLK ZERO/PRE.
@ k_ra8_mipi_phy_off_plfcr
+0x004 DPHYPLFCR – PLL freq ctrl.
@ k_ra8_mipi_phy_off_ocr
+0x020 DPHYOCR – D-PHY enable.
@ k_ra8_mipi_phy_off_tim2
+0x028 DPHYTIM2 – TCLK PREP/SETT.
@ k_ra8_mipi_phy_off_esccr
+0x00C DPHYESCCR – escape clk div.
@ k_ra8_mipi_phy_off_pwrcr
+0x010 DPHYPWRCR – LDO pwr supply.
@ k_ra8_mipi_phy_off_tim5
+0x034 DPHYTIM5 – THS ZERO/TRL.
@ k_ra8_mipi_phy_off_tim1
+0x024 DPHYTIM1 – TINIT.
@ k_ra8_mipi_phy_off_refcr
+0x000 DPHYREFCR – ref clock cfg.
@ k_ra8_mipi_phy_off_sfr
+0x01C DPHYSFR – status flags.
@ k_ra8_mipi_phy_off_mdc
+0x048 DPHYMDC – host/device.
@ k_ra8_mipi_phy_off_tim6
+0x038 DPHYTIM6 – TLPX.
ra8_mipi_phy_plocr_bit_t
DPHYPLOCR bit positions / masks.
@ k_ra8_mipi_phy_plocr_pllstp
Bit 0 mask: stop the PLL.
ra8_mipi_phy_tim6_mask_t
DPHYTIM6 field masks.
@ k_ra8_mipi_phy_tim6_tlpx_mask
TLPX[7:0] field.
ra8_mipi_phy_pll_field_mask_t
DPHYPLFCR field width masks (pre-shift, applied to value).
@ k_ra8_mipi_phy_plfcr_mask_idiv
IDIV[1:0] mask.
@ k_ra8_mipi_phy_plfcr_mask_nmul
NMUL[8:0] mask.
@ k_ra8_mipi_phy_plfcr_mask_nfmul
NFMUL[1:0] mask.
@ k_ra8_mipi_phy_plfcr_mask_pmul
PMUL[1:0] mask.
ra8_mipi_phy_pwrcr_bit_t
DPHYPWRCR bit positions / masks.
@ k_ra8_mipi_phy_pwrcr_pwrsen
Bit 0 mask: enable D-PHY LDO.
ra8_mipi_phy_pll_field_shift_t
DPHYPLFCR field positions.
@ k_ra8_mipi_phy_plfcr_shift_nfmul
NFMUL[1:0] field shift.
@ k_ra8_mipi_phy_plfcr_shift_nmul
NMUL[8:0] field shift.
@ k_ra8_mipi_phy_plfcr_shift_pmul
PMUL[1:0] field shift.
@ k_ra8_mipi_phy_plfcr_shift_idiv
IDIV[1:0] field shift.
ra8_mipi_phy_tim1_mask_t
DPHYTIM1 field masks.
@ k_ra8_mipi_phy_tim1_tinit_mask
TINIT[18:0] field.
ra8_mipi_phy_mdc_bit_t
DPHYMDC bit positions / masks.
@ k_ra8_mipi_phy_mdc_hosten
DPHYMDC.MASTEREN bit 0: host (DSI) mode.
ra8_mipi_phy_sfr_bit_t
DPHYSFR status flag positions / masks (read-only).
@ k_ra8_mipi_phy_sfr_ready_mask
PWRSF | PLLSF.
@ k_ra8_mipi_phy_sfr_pwrsf
Bit 0 mask: LDO stable.
@ k_ra8_mipi_phy_sfr_pllsf
Bit 8 mask: PLL clock stable.
ra8_mipi_phy_input_clk_t
Input clock guardrails to PLL (HUM Ch 64.1 Table 64.1 p 3822).
@ k_ra8_mipi_phy_lp_clk_max_mhz
fLPX upper bound (HUM 64.2.4 p 3825).
@ k_ra8_mipi_phy_mosc_max_mhz
MOSC upper bound.
@ k_ra8_mipi_phy_pll_in_max_mhz
Post-IDIV upper bound.
@ k_ra8_mipi_phy_lp_clk_min_mhz
fLPX lower bound (HUM 64.2.4 p 3825).
@ k_ra8_mipi_phy_mosc_min_mhz
MOSC lower bound.
@ k_ra8_mipi_phy_pll_in_min_mhz
Post-IDIV lower bound.
ra8_mipi_phy_ocr_bit_t
DPHYOCR bit positions / masks.
@ k_ra8_mipi_phy_ocr_dphyen
Bit 0 mask: enable D-PHY.
ra8_mipi_phy_refcr_mask_t
DPHYREFCR field masks.
@ k_ra8_mipi_phy_refcr_rfreq_mask
RFREQ[7:0] field.
ra8_mipi_phy_esccr_mask_t
DPHYESCCR field masks.
@ k_ra8_mipi_phy_esccr_escdiv_mask
ESCDIV[4:0] field.
ra8_mipi_phy_refcr_bias_t
Software-side bias used when encoding DPHYREFCR.RFREQ.
@ k_ra8_mipi_phy_refcr_rfreq_bias
RFREQ encodes (MHz - 1).
ra8_mipi_phy_tim_byte_mask_t
8-bit per-field mask applied before shifting in DPHYTIM2..5.
@ k_ra8_mipi_phy_tim_byte_mask
Mask for each 8-bit lane.
ra8_mipi_phy_lane_speed_limit_t
Per-lane line-rate guardrails (Mbps).
@ k_ra8_mipi_phy_line_rate_max_mbps
Upper line-rate limit.
@ k_ra8_mipi_phy_line_rate_min_mbps
Lower line-rate limit.
ra8_mipi_phy_pll_band_t
VCO frequency band guardrails (HUM Ch 64.1 Table 64.1 p 3822).
@ k_ra8_mipi_phy_pll_p4_min
P=1/4 floor.
@ k_ra8_mipi_phy_pll_p1_min
P=1 floor.
@ k_ra8_mipi_phy_pll_p2_min
P=1/2 floor.
@ k_ra8_mipi_phy_pll_p4_max
P=1/4 ceiling.
@ k_ra8_mipi_phy_pll_p8_max
P=1/8 ceiling.
@ k_ra8_mipi_phy_vco_max_mhz
VCO upper bound (post NF+N).
@ k_ra8_mipi_phy_vco_min_mhz
VCO lower bound (post NF+N).
@ k_ra8_mipi_phy_pll_p1_max
P=1 ceiling.
@ k_ra8_mipi_phy_pll_p8_min
P=1/8 floor.
@ k_ra8_mipi_phy_pll_p2_max
P=1/2 ceiling.