13.17. Pin MCC Driver - PinVccDrvr
Id |
PinVccDrvr |
Title |
Pin MCC Driver |
System |
Thermal |
Document Type |
Application Software Component Specification Preview |
13.17.1. Overview
The Pin MCC Driver component is responsible for controlling the power supply pin and performing diagnostic measurements. It enables or disables the power supply based on the vehicle state and monitors the pin diagnostics.
13.17.2. Functions
Title |
Description |
|
|---|---|---|
1 |
Power Supply Control |
Enables or disables the power supply pin based on the vehicle state from the VSM (Vehicle State Manager). The power supply is enabled in certain vehicle states according to a power table. |
2 |
Diagnostic Measurement |
Performs diagnostic measurement on the power supply pin when enabled. It monitors the pin diagnostics state and sets a DTC (Diagnostic Trouble Code) if a fault is detected. |
13.17.3. Ports
Id |
Direction |
Data Type |
Dimensions |
Unit |
|
|---|---|---|---|---|---|
1 |
VsmSt |
Incoming |
Bus: CAN_VSMState_t |
[-1] |
inherit |
2 |
VccSt |
Incoming |
Enum: InpoutPinSt |
[1] |
inherit |
3 |
VccU |
Incoming |
single |
[1] |
inherit |
4 |
VccCur |
Incoming |
single |
[1] |
inherit |
5 |
BasU |
Incoming |
single |
[-1] |
inherit |
6 |
PwrCns |
Outgoing |
single |
[-1] |
inherit |
7 |
CurCns |
Outgoing |
single |
[-1] |
inherit |
8 |
SplyReq |
Outgoing |
boolean |
[-1] |
inherit |
9 |
DevStOk |
Outgoing |
boolean |
[-1] |
inherit |
10 |
Diagc |
Outgoing |
Bus: PinvcdrvDiagc |
[-1] |
inherit |
11 |
VccDuty |
Outgoing |
uint8 |
[1] |
inherit |
12 |
VccMod |
Outgoing |
Enum: InpoutPinMod |
[1] |
inherit |
13 |
VccPuMod |
Outgoing |
Enum: InpoutPinPuMod |
[1] |
inherit |
13.17.4. Parameters
Id |
Data Type |
Dimensions |
Range |
Unit |
Description |
|
|---|---|---|---|---|---|---|
1 |
PinvcdrvDiagEna |
boolean |
[1,1] |
Min: 0, Max: 1 |
Pin diagnostic enabled |
|
2 |
PinvcdrvPowerTable |
boolean |
[1,5] |
Min: 0, Max: 1 |
Pin Power Table |
|
3 |
PinvcdrvVccPinDrv |
boolean |
[1,1] |
Min: 0, Max: 1 |
Enable control of the power supply pin |
|
4 |
PinvcdrvVccPinSns |
boolean |
[1,1] |
Min: 0, Max: 1 |
Enable diagnostic measurement on the power supply pin |