ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
ra8_bkup_internal.h
Go to the documentation of this file.
1
30
31#pragma once
32
33#ifdef __cplusplus
34extern "C" {
35#endif
36
37#include <stdint.h>
38
39#include "ra8_attributes.h"
40
53extern const char* g_bkup_tag;
54
72extern bool s_bkup_initialized;
73
106RA8_PRIV void
107priv_ra8_bkup_internal_rmw8(volatile uint8_t* reg, uint8_t mask, bool enable, uint16_t unlock_val);
108
109#ifdef __cplusplus
110}
111#endif
Annotation-attribute framework macros for ra8-firmware.
#define RA8_PRIV
Module-private helper: shared across TUs but only inside one library.
const char * g_bkup_tag
Log tag used for this driver's diagnostics.
Definition ra8_bkup.c:88
bool s_bkup_initialized
true once any of the lifecycle init helpers have run.
Definition ra8_bkup.c:120
void priv_ra8_bkup_internal_rmw8(volatile uint8_t *reg, uint8_t mask, bool enable, uint16_t unlock_val)
Set or clear a bit in an 8-bit PRCR-protected RMW register.
Definition ra8_bkup.c:172