SWRU271I October 2010 – January 2020 CC2540 , CC2540T , CC2541 , CC2541-Q1 , CC2640R2F
The hardware abstraction layer (HAL) of the CC254x software provides an interface of abstraction between the physical hardware and the application and/or protocol stack. This HAL allows for the development of new hardware (such as a new PCB) without making changes to the protocol stack or application source code. The HAL includes software for the SPI and UART communication interfaces, AES, keys, LCD, and LEDs. The HAL drivers that support the following hardware platforms include the following:
When developing with a different hardware platform, you might need to modify the HAL source for compatablility.
Find the HAL files in the sample projects by doing the following:
The following drivers are supported: