51typedef enum : uint8_t {
66typedef enum : uint32_t {
ra8_err_t ra8_ota_commit_set_bank_config(uint32_t raw_value)
Write the bank-config register, masked to the allowed bits.
ra8_err_t ra8_ota_commit_pending(ra8_ota_bank_t *out_target)
Read back the pending swap target (for tests + diagnostics).
ra8_ota_bank_config_mask_t
Allowed-bit masks for the bank-config register.
@ k_ra8_ota_bank_config_allowed
Only the 2-bit BANK_SEL field.
ra8_ota_bank_t
Bank selector used by ra8_ota_commit_swap_bank.
@ k_ra8_ota_bank_b
Bank B is the next-boot target.
@ k_ra8_ota_bank_a
Bank A is the next-boot target.
ra8_err_t ra8_ota_commit_get_bank_config(uint32_t *out_value)
Read back the bank-config shadow (for tests).
ra8_err_t ra8_ota_commit_swap_bank(ra8_ota_bank_t target)
Arm the boot ROM to start from target on next reset.
ra8_err_t ra8_ota_commit_reset(void)
Reset the secure OTA shadow (drops any pending commit).
Error Code Definitions for ra8-firmware.
ra8_err_codes_t ra8_err_t
Canonical error-return type used by every ra8-firmware API.