63 #include "TCME_Register.h"
int BOOL
Boolean datatype definition.
Definition: Defines.h:124
unsigned long long U64
Binary 64-Bit unsigned integer datatype defenition.
Definition: Defines.h:213
void VOID
Datatypesess datatype definition.
Definition: Defines.h:105
unsigned long U32
Binary 32-Bit unsigned integer datatype defenition.
Definition: Defines.h:203
unsigned short U16
Binary 16-Bit unsigned integer datatype defenition.
Definition: Defines.h:193
Function block base class header file.
Function block output connector class.
Definition: Block_Output_Connector.h:59
Function block base class for device.
Definition: Function_Block_Base.h:96
KG3 digital I/O board (P021.23 / KG3 EVIO T1) type 1 class.
Definition: P021_23_KG3_EVIO.h:75
TBlock_Input_Connector object_u8_EVSE_Voltage_Limit_Achieved
Definition: P021_23_KG3_EVIO.h:414
TBlock_Output_Connector object_u16_EV_Max_Current
0x200 : EVDCMaxLimits register
Definition: P021_23_KG3_EVIO.h:481
BOOL Write_EVSEDateTime()
Write EVSEDateTime register operation.
Definition: P021_23_KG3_EVIO.cpp:1121
TBlock_Output_Connector object_u16_EV_Energy_Capacity
0x203 : EVDCEnergyLimits register
Definition: P021_23_KG3_EVIO.h:505
virtual VOID Init()
Function block initialisation method.
Definition: P021_23_KG3_EVIO.cpp:217
TBlock_Input_Connector object_u16_EVSEPresentVoltage
Definition: P021_23_KG3_EVIO.h:413
BOOL bool_Received_Data
Received data flag.
Definition: P021_23_KG3_EVIO.h:822
TBlock_Input_Connector object_u16_EVSE_Max_Power
Definition: P021_23_KG3_EVIO.h:402
TBlock_Output_Connector object_u8_EV_Bulk_SOC
Definition: P021_23_KG3_EVIO.h:485
TBlock_Input_Connector object_u16_EVSE_Max_Voltage
Definition: P021_23_KG3_EVIO.h:401
TBlock_Input_Connector object_u8_EVSE_CurrentLimit_Achieved
Definition: P021_23_KG3_EVIO.h:418
TBlock_Output_Connector object_u8_ProximityPinState
Definition: P021_23_KG3_EVIO.h:459
TBlock_Output_Connector object_u16_EV_Max_Power
Definition: P021_23_KG3_EVIO.h:482
TBlock_Output_Connector object_u16_EV_Pre_Charge_Voltage
Definition: P021_23_KG3_EVIO.h:490
TBlock_Input_Connector object_u8_EVSE_Processing_CPD
Definition: P021_23_KG3_EVIO.h:421
TFSM_State
FSM state definitions.
Definition: P021_23_KG3_EVIO.h:698
@ enum_Isolation_Read_EVStatusDisplay
Definition: P021_23_KG3_EVIO.h:726
@ enum_Charge_Read_EVStatusDisplay
Definition: P021_23_KG3_EVIO.h:736
@ enum_Isolation_Write_EVSEDCStatus
Isolation states.
Definition: P021_23_KG3_EVIO.h:725
@ enum_Charge_Write_EVSEDCMaxLimits
Definition: P021_23_KG3_EVIO.h:735
@ enum_Charge_Read_EVDCChargeTargets
Definition: P021_23_KG3_EVIO.h:737
@ enum_Parameter_Read_EVStatusDisplay
Definition: P021_23_KG3_EVIO.h:720
@ enum_Charge_Write_EVSEDCStatus
Charge states.
Definition: P021_23_KG3_EVIO.h:734
@ enum_Decode
Idle state.
Definition: P021_23_KG3_EVIO.h:704
@ enum_Parameter_Write_EVSEDCMaxLimits
Definition: P021_23_KG3_EVIO.h:716
@ enum_Welding_Write_EVSEDCStatus
Welding states.
Definition: P021_23_KG3_EVIO.h:742
@ enum_Init_Read_EVMacAddress
Definition: P021_23_KG3_EVIO.h:709
@ enum_Init_Write_EVSEDateTime
Init states.
Definition: P021_23_KG3_EVIO.h:707
@ enum_PreCharge_Read_EVDCChargeTargets
Definition: P021_23_KG3_EVIO.h:731
@ enum_Charge_Read_EVDCMaxLimits
Definition: P021_23_KG3_EVIO.h:738
@ enum_PreCharge_Write_EVSEDCStatus
PreCharge states.
Definition: P021_23_KG3_EVIO.h:729
@ enum_Parameter_Write_EVSEDCStatus
Parameter states.
Definition: P021_23_KG3_EVIO.h:715
@ enum_Authentication_Write_EVSEDCStatus
Authentication states.
Definition: P021_23_KG3_EVIO.h:712
@ enum_Welding_Read_EVStatusDisplay
Definition: P021_23_KG3_EVIO.h:743
@ enum_Init_Write_EVSEDCStatus
Definition: P021_23_KG3_EVIO.h:708
@ enum_PreCharge_Read_EVStatusDisplay
Definition: P021_23_KG3_EVIO.h:730
@ enum_Parameter_Read_EVDCMaxLimits_2
Definition: P021_23_KG3_EVIO.h:722
@ enum_Parameter_Read_EVDCMaxLimits
Definition: P021_23_KG3_EVIO.h:719
@ enum_Parameter_Read_EVDCEnergyLimits
Definition: P021_23_KG3_EVIO.h:721
@ enum_Charge_Read_EVStatusDisplay_2
Definition: P021_23_KG3_EVIO.h:739
@ enum_Done
Idle state.
Definition: P021_23_KG3_EVIO.h:701
@ enum_Parameter_Write_EVSEDCStatus_2
Definition: P021_23_KG3_EVIO.h:718
@ enum_Parameter_Write_EVSEDCRegulationLimits
Definition: P021_23_KG3_EVIO.h:717
TBlock_Input_Connector object_u8_EVSE_Status_Code
Definition: P021_23_KG3_EVIO.h:419
TBlock_Output_Connector object_u8_Alive_Counter
Definition: P021_23_KG3_EVIO.h:465
BOOL bool_Ready_To_Send
Ready to send data flag.
Definition: P021_23_KG3_EVIO.h:819
TBlock_Output_Connector object_u16_Error_Info_2
Definition: P021_23_KG3_EVIO.h:477
BOOL Write_EVSEDCStatus()
Write EVSEDCStatus register operation.
Definition: P021_23_KG3_EVIO.cpp:1165
TBlock_Output_Connector object_u16_Error_Info_0
0x102 : ErrorCodes register
Definition: P021_23_KG3_EVIO.h:475
virtual ~TP021_23_KG3_EVIO_T1()
Function block class destructor method.
Definition: P021_23_KG3_EVIO.cpp:194
TBlock_Input_Connector object_u8_EVSE_Proximity_Pin_State
Definition: P021_23_KG3_EVIO.h:426
TBlock_Output_Connector object_u8_StateMachineState
Definition: P021_23_KG3_EVIO.h:460
TBlock_Output_Connector object_u16_EV_Max_Voltage
Definition: P021_23_KG3_EVIO.h:483
TBlock_Output_Connector object_u8_Software_Version_Major
0x101 : SoftwareInfo register
Definition: P021_23_KG3_EVIO.h:469
TBlock_Input_Connector object_u64_EVSE_ID
0x306 : EVSEID register
Definition: P021_23_KG3_EVIO.h:439
TBlock_Output_Connector object_u8_Diode_Present
Definition: P021_23_KG3_EVIO.h:466
TBlock_Input_Connector object_u32_EVSE_PMax_Schedule_Duration
0x305 : EVSEScheduleTime register
Definition: P021_23_KG3_EVIO.h:435
TBlock_Input_Connector object_u16_EVSE_Min_Voltage
Definition: P021_23_KG3_EVIO.h:407
TBlock_Input_Connector object_u8_EVSE_Current_Regulation_Tolerance
Definition: P021_23_KG3_EVIO.h:409
TBlock_Output_Connector object_u16_EV_Target_Voltage
Definition: P021_23_KG3_EVIO.h:489
U32 Get_Module_ID()
Definition: P021_23_KG3_EVIO.cpp:1566
TBlock_Input_Connector object_u32_EVSE_PMax_Schedule_Start
Definition: P021_23_KG3_EVIO.h:436
TBlock_Input_Connector object_u8_EVSE_Peak_Current_Ripple
Definition: P021_23_KG3_EVIO.h:408
BOOL Read_EVDCMaxLimits()
Read EVDCMaxLimits register operation.
Definition: P021_23_KG3_EVIO.cpp:1372
TBlock_Input_Connector object_u16_EVSE_Energy_To_Be_Delivered
Definition: P021_23_KG3_EVIO.h:403
U64 u64_Receive_Data
Receive data.
Definition: P021_23_KG3_EVIO.h:816
TBlock_Input_Connector object_u8_EVSE_Control_Pilot_Duty_Cycle
0x303 : EVSEPlugStatus register
Definition: P021_23_KG3_EVIO.h:425
TBlock_Output_Connector object_u8_EV_Full_SOC
Definition: P021_23_KG3_EVIO.h:484
BOOL bool_Communication_Transaction_In_Progress
Communication transaction in progress flag.
Definition: P021_23_KG3_EVIO.h:831
VOID Map(TP021_23_KG3_EVIO_Registers *struct_Registers_Base_Address)
Hardware mapping method.
Definition: P021_23_KG3_EVIO.cpp:202
TBlock_Input_Connector object_u8_Command
Definition: P021_23_KG3_EVIO.h:396
BOOL Receive_Message()
Receive message operation.
Definition: P021_23_KG3_EVIO.cpp:331
TCME_Register object_CME_Read_Register
object CME read register
Definition: P021_23_KG3_EVIO.h:813
virtual VOID Execute()
Function block execution method.
Definition: P021_23_KG3_EVIO.cpp:365
TBlock_Output_Connector object_u8_EV_SoC
0x202 : EVStatusDisplay register
Definition: P021_23_KG3_EVIO.h:493
TCME_Register object_CME_Write_Register
object CME write register
Definition: P021_23_KG3_EVIO.h:810
BOOL Read_EVStatusDisplay()
Read EVStatusDisplay register operation.
Definition: P021_23_KG3_EVIO.cpp:1420
TBlock_Output_Connector object_u16_EV_Energy_Request
Definition: P021_23_KG3_EVIO.h:506
TBlock_Output_Connector object_u64_EV_Mac_Address
0x204 : EVMACAddress register
Definition: P021_23_KG3_EVIO.h:509
TBlock_Output_Connector object_u8_EV_Cabin_Conditioning
Definition: P021_23_KG3_EVIO.h:499
TBlock_Output_Connector object_u16_Error_Info_3
Definition: P021_23_KG3_EVIO.h:478
TBlock_Output_Connector object_u8_Software_Version_Minor
Definition: P021_23_KG3_EVIO.h:470
virtual VOID Send_Information(TProtocol_Base *object_Protocol)
Send information about digital I/O baortd driver over communication link protocol.
Definition: P021_23_KG3_EVIO.cpp:1581
TBlock_Output_Connector object_bool_Command_Processing_Error
Definition: P021_23_KG3_EVIO.h:455
TBlock_Output_Connector object_bool_Command_Processing_Done
Definition: P021_23_KG3_EVIO.h:454
VOID Send_Writing_Frame(U16 u16_Register_Address)
Send data frame for writing operation.
Definition: P021_23_KG3_EVIO.cpp:249
TBlock_Input_Connector object_u8_EVSE_Free_Service
Definition: P021_23_KG3_EVIO.h:415
TFSM_State object_FSM_State
Definition: P021_23_KG3_EVIO.h:747
TBlock_Output_Connector object_u8_EV_Compatible
Definition: P021_23_KG3_EVIO.h:463
TBlock_Input_Connector object_u64_EVSE_Date_Time_Now
0x308 : EVSEDateTime register
Definition: P021_23_KG3_EVIO.h:445
TBlock_Output_Connector object_u8_EV_Error_Code
Definition: P021_23_KG3_EVIO.h:494
TBlock_Output_Connector object_u8_Control_Pilot_Duty_Cycle
0x100 : ChargeInfo register
Definition: P021_23_KG3_EVIO.h:458
TBlock_Output_Connector object_u16_Error_Info_1
Definition: P021_23_KG3_EVIO.h:476
BOOL Write_EVSEDCMaxLimits()
Write EVSEDCMaxLimits register operation.
Definition: P021_23_KG3_EVIO.cpp:1268
TBlock_Output_Connector object_u8_EV_Charging_Complete
Definition: P021_23_KG3_EVIO.h:496
TBlock_Output_Connector object_u8_TCP_Status
Definition: P021_23_KG3_EVIO.h:464
TBlock_Input_Connector object_bool_Command_Processing_Start
Definition: P021_23_KG3_EVIO.h:397
TBlock_Input_Connector object_u16_EVSE_PMax_Schedule_Power
Definition: P021_23_KG3_EVIO.h:431
TBlock_Input_Connector object_u8_EVSE_Isolation_Status
Definition: P021_23_KG3_EVIO.h:416
TBlock_Output_Connector object_u32_EV_Time_To_Full_SoC
Definition: P021_23_KG3_EVIO.h:501
BOOL Read_EVDCEnergyLimits()
Read EVDCEnergyLimits register operation.
Definition: P021_23_KG3_EVIO.cpp:1473
volatile TP021_23_KG3_EVIO_Registers * struct_Registers
Pointer to the memory area in FPGA address space.
Definition: P021_23_KG3_EVIO.h:652
TBlock_Output_Connector object_u8_Software_Version_Config
Definition: P021_23_KG3_EVIO.h:472
TBlock_Input_Connector object_u8_EVSE_Processing_CA
Definition: P021_23_KG3_EVIO.h:422
TBlock_Output_Connector object_u8_Software_Version_Patch
Definition: P021_23_KG3_EVIO.h:471
TBlock_Input_Connector object_u16_EVSE_PMax_Schedule_ID
0x304 : EVSESchedule register
Definition: P021_23_KG3_EVIO.h:430
TBlock_Input_Connector object_u16_EVSE_Current_Limit
0x309 : EVSEChargeControl register
Definition: P021_23_KG3_EVIO.h:448
TBlock_Output_Connector object_u8_EV_RESS_Conditioning
Definition: P021_23_KG3_EVIO.h:498
TP021_23_KG3_EVIO_T1()
Function block class constructor method.
Definition: P021_23_KG3_EVIO.cpp:68
TBlock_Input_Connector object_u8_EVSE_SA_Schedule_Tuple_ID
Definition: P021_23_KG3_EVIO.h:432
TBlock_Input_Connector object_u8_EVSE_Processing_CC
Definition: P021_23_KG3_EVIO.h:420
TBlock_Input_Connector object_u16_EVSE_Max_Current
0x300 : EVSEDCMaxLimits register
Definition: P021_23_KG3_EVIO.h:400
U16 u16_Read_Register_Address
Read register address.
Definition: P021_23_KG3_EVIO.h:825
TBlock_Input_Connector object_u64_EVSE_Session_ID
0x307 : EVSESessionID register
Definition: P021_23_KG3_EVIO.h:442
TBlock_Output_Connector object_u32_EV_Time_To_Bulk_SoC
Definition: P021_23_KG3_EVIO.h:497
U16 u16_Write_Read_Data
Write or read data.
Definition: P021_23_KG3_EVIO.h:828
VOID Send_Reading_Frame(U16 u16_Register_Address)
Send data frame for reading operation.
Definition: P021_23_KG3_EVIO.cpp:279
TRgisters_Address
Register definitions.
Definition: P021_23_KG3_EVIO.h:751
@ enum_EVDCChargeTargets
EVDCChargeTargets register address.
Definition: P021_23_KG3_EVIO.h:766
@ enum_ChargeInfo
ChargeInfo register address.
Definition: P021_23_KG3_EVIO.h:754
@ enum_SoftwareInfo
SoftwareInfo register address.
Definition: P021_23_KG3_EVIO.h:757
@ enum_EVSEDCRegulationLimits
EVSEDCRegulationLimits register address.
Definition: P021_23_KG3_EVIO.h:781
@ enum_EVDCEnergyLimits
EVDCEnergyLimits register address.
Definition: P021_23_KG3_EVIO.h:772
@ enum_ErrorCodes
Definition: P021_23_KG3_EVIO.h:760
@ enum_EVSEDateTime
EVSEDateTime register address.
Definition: P021_23_KG3_EVIO.h:802
@ enum_EVMACAddress
EVMACAddress register address.
Definition: P021_23_KG3_EVIO.h:775
@ enum_EVSEDCStatus
EVSEDCStatus register address.
Definition: P021_23_KG3_EVIO.h:784
@ enum_EVSEDCMaxLimits
EVSEDCMaxLimits register address.
Definition: P021_23_KG3_EVIO.h:778
@ enum_EVSEID
EVSEID register address.
Definition: P021_23_KG3_EVIO.h:796
@ enum_EVSEPlugStatus
EVSEPlugStatus register address.
Definition: P021_23_KG3_EVIO.h:787
@ enum_EVDCMaxLimits
EVDCMaxLimits register address.
Definition: P021_23_KG3_EVIO.h:763
@ enum_EVSESessionID
EVSESessionID register address.
Definition: P021_23_KG3_EVIO.h:799
@ enum_EVSEScheduleTime
EVSEScheduleTime register address.
Definition: P021_23_KG3_EVIO.h:793
@ enum_EVSEChargeControl
EVSEChargeControl register address.
Definition: P021_23_KG3_EVIO.h:805
@ enum_EVStatusDisplay
EVStatusDisplay register address.
Definition: P021_23_KG3_EVIO.h:769
@ enum_EVSESchedule
EVSESchedule register address.
Definition: P021_23_KG3_EVIO.h:790
TFSM_State_Decoder
FSM state definitions.
Definition: P021_23_KG3_EVIO.h:656
@ enum_Welding
Welding state.
Definition: P021_23_KG3_EVIO.h:677
@ enum_Idle
Idle state.
Definition: P021_23_KG3_EVIO.h:659
@ enum_Parameter
Parameter state.
Definition: P021_23_KG3_EVIO.h:668
@ enum_Authentication
Authentication state.
Definition: P021_23_KG3_EVIO.h:665
@ enum_Charge
Charge state.
Definition: P021_23_KG3_EVIO.h:674
@ enum_ShutOff
ShutOff state.
Definition: P021_23_KG3_EVIO.h:686
@ enum_Paused
Paused state.
Definition: P021_23_KG3_EVIO.h:689
@ enum_StopCharge
StopCharge state.
Definition: P021_23_KG3_EVIO.h:680
@ enum_PreCharge
PreCharge state.
Definition: P021_23_KG3_EVIO.h:671
@ enum_Error
Error state.
Definition: P021_23_KG3_EVIO.h:692
@ enum_SessionStop
SessionStop state.
Definition: P021_23_KG3_EVIO.h:683
@ enum_Init
Init state.
Definition: P021_23_KG3_EVIO.h:662
TBlock_Output_Connector object_u8_SLAC_Link_Status
Definition: P021_23_KG3_EVIO.h:502
TBlock_Input_Connector object_u8_EVSE_Control_Pilot_State
Definition: P021_23_KG3_EVIO.h:427
BOOL Write_EVSEDCRegulationLimits()
Write EVSEDCRegulationLimits register operation.
Definition: P021_23_KG3_EVIO.cpp:1320
TBlock_Output_Connector object_u8_EV_Bulk_Charging_Complete
Definition: P021_23_KG3_EVIO.h:495
TBlock_Input_Connector object_u8_EVSE_PowerLimit_Achieved
Definition: P021_23_KG3_EVIO.h:417
TBlock_Input_Connector object_u16_EVSE_Min_Current
0x301 : EVSEDCRegulationLimits register
Definition: P021_23_KG3_EVIO.h:406
TBlock_Input_Connector object_u16_EVSEPresentCurrent
0x302 : EVSEDCStatus register
Definition: P021_23_KG3_EVIO.h:412
TBlock_Output_Connector object_u8_Control_Pilot_State
Definition: P021_23_KG3_EVIO.h:461
BOOL Read_EVDCChargeTargets()
Read EVDCChargeTargets register operation.
Definition: P021_23_KG3_EVIO.cpp:1518
TBlock_Output_Connector object_u8_Actual_Charge_Protocol
Definition: P021_23_KG3_EVIO.h:462
BOOL Check_Register_Writing_Response()
Check register writing response operation.
Definition: P021_23_KG3_EVIO.cpp:309
BOOL Read_EVMacAddress()
Write EVMacAddress register operation.
Definition: P021_23_KG3_EVIO.cpp:1224
TBlock_Output_Connector object_u8_EV_Ready
Definition: P021_23_KG3_EVIO.h:500
TBlock_Output_Connector object_u16_EV_Target_Current
0x201 : EVDCChargeTargets register
Definition: P021_23_KG3_EVIO.h:488
Definition: Protocol_Base.h:57
Register structure for digital I/O access.
Definition: P021_23_KG3_EVIO.h:89
U16 u16_Reserved_10
0x0A : Reserved
Definition: P021_23_KG3_EVIO.h:124
U16 u16_Reserved_15
0x0F : Reserved
Definition: P021_23_KG3_EVIO.h:139
U16 u16_Reserved_13
0x0D : Reserved
Definition: P021_23_KG3_EVIO.h:133
U16 u16_Unit_ID_H
0x01 : Module identification high register
Definition: P021_23_KG3_EVIO.h:95
U16 u16_Register_Address
0x04 : Register address
Definition: P021_23_KG3_EVIO.h:113
U16 u16_Reserved_11
0x0B : Reserved
Definition: P021_23_KG3_EVIO.h:127
U16 u16_Reserved_14
0x0E : Reserved
Definition: P021_23_KG3_EVIO.h:136
U16 u16_Unit_ID_L
0x00 : Module identification low register
Definition: P021_23_KG3_EVIO.h:92
U16 u16_CRC7
0x09 : Digital output data write
Definition: P021_23_KG3_EVIO.h:121
U16 u16_Control_Word
0x02 : Control word
Definition: P021_23_KG3_EVIO.h:107
U16 u16_Status_Word
0x03 : Status word
Definition: P021_23_KG3_EVIO.h:110
U16 u16_Reserved_12
0x0C : Reserved
Definition: P021_23_KG3_EVIO.h:130
U16 u16_Start_Transmit
Bit 1, Start transmit.
Definition: P021_23_KG3_EVIO.h:605
U16 u16_SPE
Bit 0, SPI enable.
Definition: P021_23_KG3_EVIO.h:602
U16 u16_Control
Register raw data.
Definition: P021_23_KG3_EVIO.h:596
U16 u16_Data_Direction
Bit 2, Received.
Definition: P021_23_KG3_EVIO.h:608
U16 u16_Status
Register raw data.
Definition: P021_23_KG3_EVIO.h:536
U16 u16_Ready
Bit 1, Transmit buffer empty.
Definition: P021_23_KG3_EVIO.h:545
U16 u16_RXNE
Bit 0, Receive buffer not empty.
Definition: P021_23_KG3_EVIO.h:542
U16 u16_OVR
Bit 3, Overrun error.
Definition: P021_23_KG3_EVIO.h:551
U16 u16_BSY
Bit 4, Busy flag.
Definition: P021_23_KG3_EVIO.h:554
U16 u16_CRCERR
Bit 2, CRC error flag.
Definition: P021_23_KG3_EVIO.h:548