Button HAL Example

This example demonstrates and tests the functionality of the Button HAL. You can use this example to:

  • Understand the logic of the button HAL.

  • Test your implementation of arch-specific button HAL components if you are developing a new port.

This example assumes a device with at least one switch (button or simiar).

Supported devices

This example is expected to work off-the-shelf on the following boards:

  • All CC13xx/CC26xx devices

  • All CC2538 devices