ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
ra8_mstp_internal.h
Go to the documentation of this file.
1
19
20#pragma once
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
26#include <stdint.h>
27
28#include "ra8_attributes.h"
29#include "ra8_err.h"
30
64RA8_PRIV [[nodiscard]] ra8_err_t
65priv_ra8_mstp_wait_reg_settle_internal(uint8_t reg, uint32_t expect, uint32_t care_mask);
66
91RA8_PRIV [[nodiscard]] uint32_t priv_ra8_mstp_ns_mask_internal(uint8_t reg);
92
93#ifdef __cplusplus
94}
95#endif
Annotation-attribute framework macros for ra8-firmware.
#define RA8_PRIV
Module-private helper: shared across TUs but only inside one library.
Error Code Definitions for ra8-firmware.
ra8_err_codes_t ra8_err_t
Canonical error-return type used by every ra8-firmware API.
Definition ra8_err.h:546
ra8_err_t priv_ra8_mstp_wait_reg_settle_internal(uint8_t reg, uint32_t expect, uint32_t care_mask)
Poll one MSTPCR register until its cared-for bits read back expect.
Definition ra8_mstp.c:248
uint32_t priv_ra8_mstp_ns_mask_internal(uint8_t reg)
Non-secure-owned bit mask for one MSTPCR register (read from PSAR).
Definition ra8_mstp.c:268