|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
Shared control block for the autonomous M33 counter demo. More...
#include <dualcore_background.h>
Data Fields | |
| volatile uint32_t | counter |
| Incremented k_bg_target_count times by M33. | |
| volatile uint32_t | done |
| Set to 1 by M33 once counting is complete. | |
| volatile uint32_t | m33_sig |
| M33 stamps k_bg_m33_signature here on boot. | |
Shared control block for the autonomous M33 counter demo.
All fields are volatile so each core reloads from SRAM on every access rather than using a cached register value. The M33 owns the write side of every field; the M85 only reads them after releasing the M33.
Definition at line 113 of file dualcore_background.h.
| volatile uint32_t dualcore_bg_t::counter |
Incremented k_bg_target_count times by M33.
Definition at line 114 of file dualcore_background.h.
Referenced by cpu1_main(), main(), and zero_bg().
| volatile uint32_t dualcore_bg_t::done |
Set to 1 by M33 once counting is complete.
Definition at line 115 of file dualcore_background.h.
Referenced by cpu1_main(), wait_for_done(), and zero_bg().
| volatile uint32_t dualcore_bg_t::m33_sig |
M33 stamps k_bg_m33_signature here on boot.
Definition at line 116 of file dualcore_background.h.
Referenced by cpu1_main(), wait_for_m33_sig(), and zero_bg().