Keil Logo

BL51: Configuring XDATA Latch for Code Banking


Information in this article applies to:

  • C51 All Versions

QUESTION

I want to use the XDATA latch for my banked application; how do I set this up?

ANSWER

In L51_BANK.A51 this is controlled by the values specified for ?B_XDATAPORT and ?B_FIRSTBIT. Set ?B_XDATAPORT to the address of the latch and ?B_FIRSTBIT to the bit where you want addressing to begin.

MORE INFORMATION


Last Reviewed: Thursday, February 25, 2021


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

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.