void switchbank (
unsigned char bank_number); /* code bank */
Description
The switchbank function switches to the code bank specified
by bank_number. This function is used by code banking programs
to manually switch to a different code bank.
Note
This function may be called only from a function located in the
common area. Calls to this function from a function in a code bank
will cause undesired effects and may not return to the calling
function.
Return Value
None.
Example
extern switchbank (unsigned char bank_number);
void tst_switchbank (void) {
switchbank(1); /* switch to code bank 1 */
switchbank(2); /* switch to code bank 2 */
switchbank(3); /* switch to code bank 3 */
}
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers of your data.