Telltales
The Telltale module provides a set of functionalities for managing various telltale indicators, including turn signals, park brake, hazard lights, seat belt status, ABS, brake malfunction, high coolant temperature warnings, and cruise control. It ensures proper activation, state monitoring, and output management of these indicators.
Configuration Parameters
All API functions for the Telltale module require the first argument to be the module ID.
Name |
Description |
Range |
|---|---|---|
can_id |
CAN ID for the telltale signal. |
Any valid CAN ID |
value |
Value of the telltale indicator (on/off or value). |
0 or 1 |
active |
Indicator status (active/inactive). |
0 (inactive) or 1 (active) |
is_analog |
Type of signal (analog or digital). |
0 (digital) or 1 (analog) |
APIs
The Telltale module provides the following APIs to initialize, process, and update the telltale indicators:
Function |
Description |
|---|---|
rs_am_telltale_init |
Initializes the telltale module by registering all telltale indicators and their corresponding notification handlers. |
rs_am_telltale_process |
Processes and updates the telltale indicators based on the latest data. |
Error Codes
Each API for the telltale module returns success or failure codes. For detailed information on the error codes, please refer to the following section:
See also
:doc:/error_codes
Telltale Module Header Details
The header file for the telltale module, rs_am_telltale.h, defines the required structures and APIs for initialization and processing.
Warning
doxygenfile: Cannot find file “rs_am_telltale.h