8.2. Interior Light Driver - IntrLiDrvr

Id

IntrLiDrvr

Title

Interior Light Driver

System

Interior Lighting

Document Type

Application Software Component Specification Preview

8.2.1. Overview

The Interior Light Driver component controls the interior cabin lights based on requests from the Interior Light Manager. It handles enabling/disabling the lights, setting the light intensity, and selecting the light color.

8.2.2. Functions

Title

Description

1

Control Cabin Lights

Enables/disables the cabin lights, sets the light intensity level, and selects the light color based on commands from the Interior Light Manager.

2

Control Driver Task Light

Enables/disables the driver task light and sets the intensity level based on commands from the Interior Light Manager.

3

Control Passenger Task Light

Enables/disables the passenger task light and sets the intensity level based on commands from the Interior Light Manager.

4

Control Left Footwell Light

Enables/disables the left footwell light, sets the intensity level, and selects the light color based on commands from the Interior Light Manager.

5

Control Right Footwell Light

Enables/disables the right footwell light, sets the intensity level, and selects the light color based on commands from the Interior Light Manager.

8.2.3. Ports

Id

Direction

Data Type

Dimensions

Unit

1

LIN_NodeSta

Incoming

Bus: LIN_OHC_SwitchSta_t

[-1]

inherit

2

LIN_NodeSta_valid

Incoming

boolean

[-1]

inherit

3

DriverTaskLightCmd

Incoming

Enum: vOnOff_t

[-1]

inherit

4

PassTaskLightCmd

Incoming

Enum: vOnOff_t

[-1]

inherit

5

HazardLightCmd

Incoming

Bus: CAN_ELS2HMI_FlashInd_Req_t

[-1]

inherit

6

HazardLightState

Incoming

Enum: VtHazardLightSwitch_t

[-1]

inherit

7

OHC_LedCmd

Outgoing

Bus: LIN_OHC_LedCmd_t

[-1]

inherit

8

OHC_LedCmd_send

Outgoing

boolean

[-1]

inherit

9

DriverTaskLightReq

Outgoing

Enum: LightEnableReq_t

[-1]

inherit

10

DriverTaskLightReq_send

Outgoing

boolean

[-1]

inherit

11

PassTaskLightReq

Outgoing

Enum: LightEnableReq_t

[-1]

inherit

12

PassTaskLightReq_send

Outgoing

boolean

[-1]

inherit

13

CabLightEnableReq

Outgoing

Enum: LightEnableReq_t

[-1]

inherit

14

CabLightEnableReq_send

Outgoing

boolean

[-1]

inherit

15

HazardSwitchReq

Outgoing

Enum: VtSig_SwitchReq_t

[-1]

inherit

16

HazardSwitchReq_send

Outgoing

boolean

[-1]

inherit

8.2.4. Parameters

Id

Data Type

Dimensions

Range

Unit

Description

1

MSOHCLINDRV_CONVET_FACTOR

single

[1,1]

Min: 0, Max: 15

Dimensionless conversion factor

2

MSOHCLINDRV_DW_SPEED

single

[1,1]

Min: 0, Max: 15

sec

Speed decrease light intensity

3

MSOHCLINDRV_OHC_LED_DOME_SW

uint8

[1,1]

Min: 0, Max: 255

Max intensity of OHC Switch LEDs for dome switch

4

MSOHCLINDRV_OHC_LED_DRV_READ

uint8

[1,1]

Min: 0, Max: 255

Max intensity of OHC Switch LEDs for Driver Read

5

MSOHCLINDRV_OHC_LED_DRV_READ_SW

uint8

[1,1]

Min: 0, Max: 255

Max intensity of OHC Switch LEDs for Driver Read switch

6

MSOHCLINDRV_OHC_LED_DRV_RED_AMB

uint8

[1,1]

Min: 0, Max: 255

Max intensity of OHC Switch LEDs for Driver Red amb

7

MSOHCLINDRV_OHC_LED_HAZ_SW

uint8

[1,1]

Min: 0, Max: 255

Max intensity of OHC Switch LEDs for hazard switch

8

MSOHCLINDRV_OHC_LED_PASS_READ

uint8

[1,1]

Min: 0, Max: 255

Max intensity of OHC Switch LEDs for Passenger Read

9

MSOHCLINDRV_OHC_LED_PASS_READ_SW

uint8

[1,1]

Min: 0, Max: 255

Max intensity of OHC Switch LEDs for Passenger Read switch

10

MSOHCLINDRV_OHC_LED_SOS

uint8

[1,1]

Min: 0, Max: 255

Max intensity of OHC Switch LEDs for SOS

11

MSOHCLINDRV_OHC_SW_INPUT_MAP

uint8

[1,10]

Min: 1, Max: 10

Select the LIN board pin sw input for each switch number

12

MSOHCLINDRV_ON_COMM_IOCC

boolean

[1,1]

Min: 0, Max: 1

if == 1, ON send IOCC static message

13

MSOHCLINDRV_ON_COMM_LIN

boolean

[1,1]

Min: 0, Max: 1

if == 1, ON send LIN

14

MSOHCLINDRV_ON_COMM_WITH_CTRL

boolean

[1,1]

Min: 0, Max: 1

if == 1, ON communication with controller

15

MSOHCLINDRV_UP_SPEED

single

[1,1]

Min: 0, Max: 15

sec

Speed increase light intensity