AM263Px MCU+ SDK: BankSwapReq_t Struct Reference

| AM263Px MCU+ SDK 26.00.00 |

Data Fields
BankSwapReq_t Struct Reference
APIs for SOC Specific Device Drivers » APIs for HSMCLIENT

## Detailed Description

This is bank swap request structure passed to HSM core via SIPC as argument, these parameters are required by the service handler. Valid only for F29x family of devices.

Parameters

  c29CpuId | C29 CPU for which flash banks are to be swapped
  syncFlag | Synchronisation flag, HSM waits for this flag to be set to a specific value within a given time period, post which HSM swaps the flash banks
  timeout | Timeout period for which HSM is supposed to wait
  c29CpuBankSwapVal | C29 CPU bankswap register value read before making swap request to HSM, used by C29 CPU only

## Data Fields
uint8_t | c29CpuId
uint8_t | syncFlag
uint32_t | timeout
uint32_t | c29CpuBankSwapVal

## Field Documentation

## ◆ c29CpuId

uint8_t BankSwapReq_t::c29CpuId

## ◆ syncFlag

uint8_t BankSwapReq_t::syncFlag

C29 CPU for which flash banks are to be swapped

## ◆ timeout

uint32_t BankSwapReq_t::timeout

Synchronisation flag used by HSM to initiate bank swap

## ◆ c29CpuBankSwapVal

uint32_t BankSwapReq_t::c29CpuBankSwapVal

Timeout period for which HSM is supposed to wait before exiting server function