15.2. Steering Wheel Switch Pack Driver - SteerWhlSwtPkDrvr
Id |
SteerWhlSwtPkDrvr |
Title |
Steering Wheel Switch Pack Driver |
System |
User Input |
Document Type |
Application Software Component Specification Preview |
15.2.1. Overview
The Steering Wheel Switch Pack Driver component handles the communication with the steering wheel switch pack hardware over LIN bus. It reads the switch statuses and paddle positions from the hardware and provides this information to other components. It also controls the LED indicators on the steering wheel based on requests from other components.
15.2.2. Functions
Title |
Description |
|
|---|---|---|
1 |
Read Steering Wheel Switch Statuses |
Reads the statuses of the steering wheel switches (buttons and paddles) from the hardware over LIN and provides the information to other components. |
2 |
Control Steering Wheel LEDs |
Controls the LED indicators on the steering wheel based on requests received from other components. Sends the LED control commands to the hardware over LIN. |
15.2.3. Ports
Id |
Direction |
Data Type |
Dimensions |
Unit |
|
|---|---|---|---|---|---|
1 |
LIN_SwitchSta |
Incoming |
Bus: LIN_SwitchSta_t |
[-1] |
inherit |
2 |
LIN_SwitchSta_valid |
Incoming |
boolean |
[-1] |
inherit |
3 |
LIN_ErrorSta |
Incoming |
Bus: LIN_ErrorSta_t |
[-1] |
inherit |
4 |
LIN_ErrorSta_valid |
Incoming |
boolean |
[-1] |
inherit |
5 |
VSMState |
Incoming |
Bus: CAN_VSMState_t |
[-1] |
inherit |
6 |
VSMState_valid |
Incoming |
boolean |
[-1] |
inherit |
7 |
WPRWSH_WiperArbReq |
Incoming |
Bus: CAN_WPRWSH_WiperArbReq_t |
[-1] |
inherit |
8 |
WPRWSH_WiperArbReq_valid |
Incoming |
boolean |
[-1] |
inherit |
9 |
StalkWipeRequest |
Outgoing |
Enum: VtSig_WipeRequest_t |
[-1] |
inherit |
10 |
StalkWipeRequest_send |
Outgoing |
boolean |
[-1] |
inherit |
11 |
StalkWashRequest |
Outgoing |
Enum: VtSig_WashRequest_t |
[-1] |
inherit |
12 |
StalkWashRequest_send |
Outgoing |
boolean |
[-1] |
inherit |
13 |
LIN_LedCmd |
Outgoing |
Bus: LIN_LedCmd_t |
[-1] |
inherit |
14 |
LIN_LedCmd_send |
Outgoing |
boolean |
[-1] |
inherit |
15 |
SWSP_SW_STA |
Outgoing |
Bus: CAN_SWSP_SW_STA_t |
[-1] |
inherit |
16 |
SWSP_SW_STA_send |
Outgoing |
boolean |
[-1] |
inherit |
17 |
SWSP_OUTPUT |
Outgoing |
Bus: CAN_SWSP_OUTPUT_t |
[-1] |
inherit |
18 |
SWSP_OUTPUT_send |
Outgoing |
boolean |
[-1] |
inherit |
19 |
LeDPadSt |
Outgoing |
Enum: DPadSt_t |
[-1] |
inherit |
20 |
LeDPadSt_send |
Outgoing |
boolean |
[-1] |
inherit |
21 |
RiDPadSt |
Outgoing |
Enum: DPadSt_t |
[-1] |
inherit |
22 |
RiDPadSt_send |
Outgoing |
boolean |
[-1] |
inherit |
23 |
DpadVoiceAssistReq |
Outgoing |
Enum: vtDpadVoiceAssistReq_t |
[-1] |
inherit |
24 |
DpadVoiceAssistReq_send |
Outgoing |
boolean |
[-1] |
inherit |
25 |
DPadCruiseControlReq |
Outgoing |
Enum: vtDPadCruiseControlReq_t |
[-1] |
inherit |
26 |
DPadCruiseControlReq_send |
Outgoing |
boolean |
[-1] |
inherit |
27 |
MainBeamStalksReq |
Outgoing |
Enum: VtSig_MainBeamStalksReq_t |
[-1] |
inherit |
28 |
MainBeamStalksReq_send |
Outgoing |
boolean |
[-1] |
inherit |
15.2.4. Parameters
Id |
Data Type |
Dimensions |
Range |
Unit |
Description |
|
|---|---|---|---|---|---|---|
1 |
WisswpakCrsCtlEna |
boolean |
[1,1] |
Min: 0, Max: 1 |
Specifying whether Cruise Control functionality available (enabled) on the vehicle |
|
2 |
WisswpakDbgReq |
uint8 |
[1,1] |
Min: 0, Max: 4 |
0 - NO DEBUG, 1 - OFF, 2 - INT, 3 - SLOW, 4 - FAST |
|
3 |
WisswpakLeBtnMap |
uint8 |
[1,5] |
Min: 1, Max: 20 |
Select LIN board input for switch index: 1=LS_L, 2=LS_D, 3=LS_U, 4=LS_R, 5=LS_P |
|
4 |
WisswpakLePadMap |
uint8 |
[1,2] |
Min: 1, Max: 20 |
Select LIN board input for switch index: 6=LP_Push, 7=LP_Pull |
|
5 |
WisswpakLePadStSndOn |
boolean |
[1,1] |
Min: 0, Max: 1 |
0 - OFF sending LeDPadSt cmd, 1 - ON |
|
6 |
WisswpakLinLiCmdSndOn |
boolean |
[1,1] |
Min: 0, Max: 1 |
0 - OFF sending LIN LED cmd, 1 - ON |
|
7 |
WisswpakLongPsTi |
single |
[1,1] |
Min: 0, Max: 30 |
sec |
D-Pad long press time |
8 |
WisswpakNodStSndOn |
boolean |
[1,1] |
Min: 0, Max: 1 |
0 - OFF sending NodeSta cmd, 1 - ON |
|
9 |
WisswpakRiBtnMap |
uint8 |
[1,5] |
Min: 1, Max: 20 |
Select LIN board input for switch index: 11=RS_L, 12=RS_D, 13=RS_U, 14=RS_R, 15=RS_P |
|
10 |
WisswpakRiPadMap |
uint8 |
[1,2] |
Min: 1, Max: 20 |
Select LIN board input for switch index: 16=RP_Push, 17=RP_Pull |
|
11 |
WisswpakRiPadStSndOn |
boolean |
[1,1] |
Min: 0, Max: 1 |
0 - OFF sending RiDPadSt cmd, 1 - ON |
|
12 |
WisswpakSngWiprTmr |
single |
[1,1] |
Min: 0, Max: 30 |
sec |
Duration of single stroke |
13 |
WisswpakSwtSndStOn |
boolean |
[1,1] |
Min: 0, Max: 1 |
0 - OFF sending SwitchSta cmd, 1 - ON |
|
14 |
WisswpakWiprReqSndOn |
boolean |
[1,1] |
Min: 0, Max: 1 |
0 - OFF sending wiper request message, 1 - ON |
|
15 |
WisswpakWshrReqSndOn |
boolean |
[1,1] |
Min: 0, Max: 1 |
0 - OFF sending wash request message, 1 - ON |