![]() |
GM6000 Digital Heater Controller Build: 20 (Branch = develop)
SDX-1330
|
This file defines the concrete implementation for the Button HAL that gets its raw inputs via a Driver::TPipe.
The driver assumes the following RX Command structure:
#include "Driver/Button/Hal.h"#include "Cpl/Container/Map.h"#include "Driver/TPipe/RxFrameHandlerApi.h"Go to the source code of this file.
Macros | |
| #define | OPTION_DRIVER_BUTTON_HAL_TPIPE_MAX_BUTTONS 32 |
| The maximum number of button/button-names the HAL layer supports. | |
| #define | OPTION_DRIVER_BUTTON_HAL_TPIPE_SIZE_BUTTON_NAME 16 |
| The maximum size, in bytes, of button name (not including the null terminator. | |
| #define | OPTION_DRIVER_BUTTON_HAL_TPIPE_COMMAND_VERB "buttons" |
| Command verb for the TPipe RX frame handler. | |
Functions | |
| void | driverButtonHalTPipe_initialize (Cpl::Container::Map< Driver::TPipe::RxFrameHandlerApi > &tpipeRxFrameHandlerList) |
| This method is used to register the button driver with the TPipe to receive button events. | |
| #define OPTION_DRIVER_BUTTON_HAL_TPIPE_COMMAND_VERB "buttons" |
Command verb for the TPipe RX frame handler.
| #define OPTION_DRIVER_BUTTON_HAL_TPIPE_MAX_BUTTONS 32 |
The maximum number of button/button-names the HAL layer supports.
| #define OPTION_DRIVER_BUTTON_HAL_TPIPE_SIZE_BUTTON_NAME 16 |
The maximum size, in bytes, of button name (not including the null terminator.
| void driverButtonHalTPipe_initialize | ( | Cpl::Container::Map< Driver::TPipe::RxFrameHandlerApi > & | tpipeRxFrameHandlerList | ) |
This method is used to register the button driver with the TPipe to receive button events.
This method is called once - NOT per button/button-handle.