|
|||||||||||
|
Technical Support Support Resources
Product Information |
GENERAL: Generating a Library for Generic DevicesInformation in this article applies to:
QUESTIONI want to create a library that can be used for any member of the 8051 (or C16x or 251) family. My library uses SFR bits which are located at different addresses depending on the device that is used. For example, I need to specify three I/O port bits to use for an LCD device. The port bits are named LCD_DS, LCD_RW, and LCD_EN. Is there a way to implement a library that is independent of a specific microcontroller device? ANSWERYes, this is possible.
MORE INFORMATION
SEE ALSO
Last Reviewed: Thursday, February 25, 2021 | ||||||||||
|
|||||||||||
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.