ConOpSys V2970  P004.07
ANVILEX control operating system
Classes | Public Member Functions | Public Attributes | Private Types | Private Member Functions | Private Attributes | List of all members
TP019_14_KG3_DIO2_T1 Class Reference

Digital I/O P019.14 board class. More...

#include <P019_14_KG3_DIO2.h>

Inheritance diagram for TP019_14_KG3_DIO2_T1:
Inheritance graph
Collaboration diagram for TP019_14_KG3_DIO2_T1:
Collaboration graph

Classes

union  TControl_Register
 Structure for control register bit parsing. More...
 
union  TData_Register
 Structure for bit parsing. More...
 
struct  TP019_14_KG3_DIO2_Registers
 
union  TStatus_Register
 Structure for status register bit parsing. More...
 
union  TVoltage_Set_Point_Register
 Structure for bit parsing. More...
 

Public Member Functions

 TP019_14_KG3_DIO2_T1 ()
 Class constructor method. More...
 
 ~TP019_14_KG3_DIO2_T1 ()
 Class destructor method. More...
 
VOID Map (TP019_14_KG3_DIO2_Registers *struct_Registers_Base_Address)
 Map method. More...
 
virtual VOID Init ()
 Block initialization method. More...
 
virtual VOID Execute ()
 Block execution method. More...
 
U32 Get_Module_ID ()
 Return module ID. More...
 
virtual VOID Send_Information (TProtocol_Base *object_Protocol)
 Block execution method. More...
 

Public Attributes

TBlock_Input_Connector object_bool_Start
 
TBlock_Input_Connector object_u8_Command
 
TBlock_Input_Connector object_u32_Device_ID
 
TBlock_Output_Connector object_bool_Done
 
TBlock_Output_Connector object_bool_Error
 

Private Types

enum  TGlobal_FSM_State {
  enum_Idle , enum_Connect_For_Measurement_Programming , enum_Test_Signature , enum_Erase_For_Measurement_Programming ,
  enum_Verify_Erase_For_Measurement_Programming , enum_Programm_Measurement_Firmware , enum_Verify_Programm_Measurement_Firmware , enum_Disconnect_After_Measurement_Programming ,
  enum_Startup_Voltage_Calibration , enum_Undervoltage_Limit_Calibration , enum_Overvoltage_Limit_Calibration , enum_End_Calibration ,
  enum_Check_Calibration_Data_Integrity , enum_Connect_For_Production_Programming , enum_Erase_For_Production_Programming , enum_Verify_Erase_For_Production_Programming ,
  enum_Programm_Production_Data , enum_Verify_Programm_Production_Firmware , enum_Programm_Fuses , enum_Disconnect_After_Production_Programming ,
  enum_Done , enum_Error
}
 < FSM state definition More...
 

Private Member Functions

BOOL Exchange_Bytes (U8 u8_Transmit_Byte_1, U8 u8_Transmit_Byte_2, U8 u8_Transmit_Byte_3, U8 u8_Transmit_Byte_4, U8 *u8_Receive_Byte_1, U8 *u8_Receive_Byte_2, U8 *u8_Receive_Byte_3, U8 *u8_Receive_Byte_4)
 Exchange data with ATiny13A chip. More...
 
BOOL Transmit_Bytes (U8 u8_Transmit_Byte_1, U8 u8_Transmit_Byte_2, U8 u8_Transmit_Byte_3, U8 u8_Transmit_Byte_4)
 Transmit data to ATiny13A. More...
 
BOOL Wait_Busy_Bit ()
 Wait while busy bit is set low. More...
 
BOOL Chip_Connect ()
 Connect to the chip in programming mode. More...
 
BOOL Chip_Disconnect ()
 Connect to the chip in programming mode. More...
 
BOOL Chip_Erase ()
 Erase all blocks of the chip. More...
 
BOOL Chip_Programming (const U8 *u8_Programm_Data, const U32 u32_Length)
 Write firmware in the chip. More...
 
BOOL Read_Fuse_Bytes ()
 Read fuse bytes from the chip. More...
 
BOOL Write_Fuse_Bytes (U8 u8_Low_Bute, U8 u8_High_Bute)
 Write fuse bytes to the chip. More...
 
BOOL Read_Signature_Byte ()
 Read signature bytes from the chip. More...
 
BOOL Read_Verify (const U8 *u8_Programing_Data, U16 u16_Length)
 Read data from the chip for validate. More...
 
BOOL Verify_Erase ()
 Read data from the chip for validate and check that memory is empty. More...
 
BOOL Read_Lock_Byte ()
 Read data from the lock byte. More...
 
BOOL Write_Lock_Byte (U8 u8_Lock_Byte)
 Write data to lock byte. More...
 
BOOL Collect_Measured_Data (U8 *u8_Value_High, U8 *u8_Value_Low)
 Receiving data from ADC. More...
 
BOOL Processing_Measured_Data (U16 u16_Voltage_Setpoint, U8 u8_Cycles_Number, U16 *u16_Measured_Value)
 Processing data reciving from ADC. More...
 
VOID Chip_Reset ()
 Chip reset. More...
 
VOID Init_P009_05_6V ()
 Init parameters for 6 V version. More...
 
VOID Init_P009_05_12V ()
 Init parameters for 12 V version. More...
 
VOID Init_P009_05_24V ()
 Init parameters for 24 V version. More...
 

Private Attributes

volatile TP019_14_KG3_DIO2_Registersstruct_Registers
 Pointer to the memory area in FPGA address space. More...
 
volatile TStatus_Register Status_Register
 Status register. More...
 
U8 u8_Data_Buffer [512]
 Firmware data. More...
 
U16 u16_Measured_Value
 Voltage value. More...
 
U32 u32_Manufacturer_Data_Device_ID
 Manufacturer data Device ID. More...
 
U32 u32_Manufacturer_Data_Serial_Number
 Manufacturer serial number. More...
 
U32 u32_Manufacturer_Data_Production_Factory_ID
 Manufacturer data factory ID. More...
 
U16 u16_DAC_SV_Setpoint
 DAC Setpoints for startup calibration. More...
 
U16 u16_DAC_UV_Setpoint
 DAC Setpoints for undervoltage calibration. More...
 
U16 u16_DAC_OV_Setpoint
 DAC Setpoints for overvoltage calibration. More...
 
U16 u16_ADC_SV_Min
 Min startup voltage value. More...
 
U16 u16_ADC_SV_Max
 Max startup voltage value. More...
 
U16 u16_ADC_UV_Min
 Min undervoltage voltage value. More...
 
U16 u16_ADC_UV_Max
 Max undervoltage voltage value. More...
 
U16 u16_ADC_OV_Min
 Min overvoltage voltage value. More...
 
U16 u16_ADC_OV_Max
 Max overvoltage voltage value. More...
 
U16 u16_ADC_SV_Hyst
 Hyst values for startup calibration. More...
 
U16 u16_ADC_UV_Hyst
 Hyst values for undervoltage calibration. More...
 
U16 u16_ADC_OV_Hyst
 Hyst values for overvoltage calibration. More...
 
U16 u16_ADC_SV
 Startup measured values. More...
 
U16 u16_ADC_UV
 Undervoltage measured values. More...
 
U16 u16_ADC_OV
 Overvoltage measured values. More...
 
TGlobal_FSM_State FSM_State
 Contain state for FSM. More...
 

Detailed Description

Digital I/O P019.14 board class.

Member Enumeration Documentation

◆ TGlobal_FSM_State

< FSM state definition

Enumerator
enum_Idle 
enum_Connect_For_Measurement_Programming 
enum_Test_Signature 
enum_Erase_For_Measurement_Programming 
enum_Verify_Erase_For_Measurement_Programming 
enum_Programm_Measurement_Firmware 
enum_Verify_Programm_Measurement_Firmware 
enum_Disconnect_After_Measurement_Programming 
enum_Startup_Voltage_Calibration 
enum_Undervoltage_Limit_Calibration 
enum_Overvoltage_Limit_Calibration 
enum_End_Calibration 
enum_Check_Calibration_Data_Integrity 
enum_Connect_For_Production_Programming 
enum_Erase_For_Production_Programming 
enum_Verify_Erase_For_Production_Programming 
enum_Programm_Production_Data 
enum_Verify_Programm_Production_Firmware 
enum_Programm_Fuses 
enum_Disconnect_After_Production_Programming 
enum_Done 
enum_Error 

Constructor & Destructor Documentation

◆ TP019_14_KG3_DIO2_T1()

TP019_14_KG3_DIO2_T1::TP019_14_KG3_DIO2_T1 ( )

Class constructor method.


Note
None
Override
Not allowed
Attention
Don't call this method directly.

References object_bool_Done, object_bool_Error, object_bool_Start, object_u32_Device_ID, object_u8_Command, TBlock_Connector::Set_Type(), and TBlock_Input_Connector::Set_Type().

Here is the call graph for this function:

◆ ~TP019_14_KG3_DIO2_T1()

TP019_14_KG3_DIO2_T1::~TP019_14_KG3_DIO2_T1 ( )

Class destructor method.


Note
None
Override
Not allowed
Attention
Don't call this method directly.

Member Function Documentation

◆ Chip_Connect()

BOOL TP019_14_KG3_DIO2_T1::Chip_Connect ( )
private

◆ Chip_Disconnect()

BOOL TP019_14_KG3_DIO2_T1::Chip_Disconnect ( )
private

Connect to the chip in programming mode.


Note
None
Returns
BOOL - Operation status
Return values
false- Operation failed
true- Successfully disconnected
Override
Not requered
Attention
None

References TConOpSys_Variant_Data::bool_Value, object_bool_Done, object_bool_Error, TBlock_Connector::object_Storage, TConOpSys_Variant::struct_Data, struct_Registers, TP019_14_KG3_DIO2_T1::TP019_14_KG3_DIO2_Registers::u16_Control_Register_Reset, TP019_14_KG3_DIO2_T1::TControl_Register::u16_Raw_Data, and TP019_14_KG3_DIO2_T1::TControl_Register::u16_Reset.

Referenced by Execute().

Here is the caller graph for this function:

◆ Chip_Erase()

BOOL TP019_14_KG3_DIO2_T1::Chip_Erase ( )
private

Erase all blocks of the chip.


Note
None
Returns
BOOL - Erase operation status
Return values
false- Erase operation failed
true- Erase operation successed
Override
Not requered
Attention
None

References Transmit_Bytes().

Referenced by Execute().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Chip_Programming()

BOOL TP019_14_KG3_DIO2_T1::Chip_Programming ( const U8 u8_Programm_Data,
const U32  u32_Length 
)
private

Write firmware in the chip.


Note
None
Parameters
[in]*u8_Programm_Data- Pointer on firmware data
[in]u32_Length- Length of the firmware
Returns
BOOL - programming operation status
Return values
false- programming operation failed
true- programming operation successed
Override
Not requered
Attention
None

References Exchange_Bytes(), TSystem_Timer_Base::Is_Timeout_ms(), NULL, object_System_Timer, Transmit_Bytes(), and true.

Referenced by Execute().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Chip_Reset()

VOID TP019_14_KG3_DIO2_T1::Chip_Reset ( )
private

◆ Collect_Measured_Data()

BOOL TP019_14_KG3_DIO2_T1::Collect_Measured_Data ( U8 u8_Value_High,
U8 u8_Value_Low 
)
private

Receiving data from ADC.


Note
None
Parameters
[out]*u8_Value_High- Pointer on data received from the primary sensor (8..15 bit)
[out]*u8_Value_Low- Pointer on data received from the primary sensor (0..7 bit)
Returns
BOOL - Receive operation status
Return values
false- Operation falled
true- Operation is done
Override
Not requered
Attention
None

References Exchange_Bytes(), and NULL.

Referenced by Processing_Measured_Data().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Exchange_Bytes()

BOOL TP019_14_KG3_DIO2_T1::Exchange_Bytes ( U8  u8_Transmit_Byte_1,
U8  u8_Transmit_Byte_2,
U8  u8_Transmit_Byte_3,
U8  u8_Transmit_Byte_4,
U8 u8_Receive_Byte_1,
U8 u8_Receive_Byte_2,
U8 u8_Receive_Byte_3,
U8 u8_Receive_Byte_4 
)
private

Exchange data with ATiny13A chip.


Note
None
Parameters
[in]u8_Transmit_Byte_1- Data byte 1 for transmitting
[in]u8_Transmit_Byte_2- Data byte 2 for transmitting
[in]u8_Transmit_Byte_3- Data byte 3 for transmitting
[in]u8_Transmit_Byte_4- Data byte 4 for transmitting
[out]*u8_Receive_Byte_1- Pointer to the variable for data byte 1 receiving
[out]*u8_Receive_Byte_2- Pointer to the variable for data byte 2 receiving
[out]*u8_Receive_Byte_3- Pointer to the variable for data byte 3 receiving
[out]*u8_Receive_Byte_4- Pointer to the variable for data byte 4 receiving
Returns
BOOL - Data exchange operation status
Return values
false- Exchange operation failed
true- Exchange operation successed
Override
Not requered
Attention
None

References NULL, struct_Registers, TP019_14_KG3_DIO2_T1::TData_Register::u16_Data, TP019_14_KG3_DIO2_T1::TP019_14_KG3_DIO2_Registers::u16_Data_Register, TP019_14_KG3_DIO2_T1::TData_Register::u16_Raw_Data, and Wait_Busy_Bit().

Referenced by Chip_Connect(), Chip_Programming(), Collect_Measured_Data(), Read_Fuse_Bytes(), Read_Lock_Byte(), Read_Signature_Byte(), Read_Verify(), and Verify_Erase().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Execute()

VOID TP019_14_KG3_DIO2_T1::Execute ( )
virtual

Block execution method.


Note
None
Returns
None
Override
Not requered
Attention
None

References TConOpSys_Variant_Data::bool_Value, Chip_Connect(), Chip_Disconnect(), Chip_Erase(), Chip_Programming(), enum_Check_Calibration_Data_Integrity, enum_Connect_For_Measurement_Programming, enum_Connect_For_Production_Programming, enum_Disconnect_After_Measurement_Programming, enum_Disconnect_After_Production_Programming, enum_End_Calibration, enum_Erase_For_Measurement_Programming, enum_Erase_For_Production_Programming, enum_Error, enum_Idle, enum_Overvoltage_Limit_Calibration, enum_Programm_Fuses, enum_Programm_Measurement_Firmware, enum_Programm_Production_Data, enum_Startup_Voltage_Calibration, enum_Test_Signature, enum_Undervoltage_Limit_Calibration, enum_Verify_Erase_For_Measurement_Programming, enum_Verify_Erase_For_Production_Programming, enum_Verify_Programm_Measurement_Firmware, enum_Verify_Programm_Production_Firmware, FSM_State, MEASURMENT_LOOP_COUNT, object_bool_Done, object_bool_Error, object_bool_Start, TBlock_Input_Connector::object_Pointer, TBlock_Connector::object_Storage, P009_05_Image_Length, P009_05_M_Image_Length, TConOpSys_Variant_Data::pbool_Value, Processing_Measured_Data(), Read_Signature_Byte(), Read_Verify(), TConOpSys_Variant::struct_Data, struct_Registers, u16_ADC_OV, u16_ADC_OV_Hyst, u16_ADC_SV, u16_ADC_SV_Hyst, u16_ADC_UV, u16_ADC_UV_Hyst, TP019_14_KG3_DIO2_T1::TP019_14_KG3_DIO2_Registers::u16_Control_Register_Reset, TP019_14_KG3_DIO2_T1::TP019_14_KG3_DIO2_Registers::u16_Control_Register_Set, u16_DAC_OV_Setpoint, u16_DAC_SV_Setpoint, u16_DAC_UV_Setpoint, TP019_14_KG3_DIO2_T1::TControl_Register::u16_Raw_Data, TP019_14_KG3_DIO2_T1::TControl_Register::u16_VDC_Test_Enable, TP019_14_KG3_DIO2_T1::TP019_14_KG3_DIO2_Registers::u16_Voltage_Set_Point, u32_Manufacturer_Data_Device_ID, u32_Manufacturer_Data_Production_Factory_ID, u32_Manufacturer_Data_Serial_Number, u8_Data_Buffer, u8_P009_05_Image, u8_P009_05_M_Image, and Verify_Erase().

Here is the call graph for this function:

◆ Get_Module_ID()

U32 TP019_14_KG3_DIO2_T1::Get_Module_ID ( )

Return module ID.


Note
None
Returns
U32 - Module ID
Override
Not requered
Attention
None

◆ Init()

VOID TP019_14_KG3_DIO2_T1::Init ( )
virtual

◆ Init_P009_05_12V()

VOID TP019_14_KG3_DIO2_T1::Init_P009_05_12V ( )
private

Init parameters for 12 V version.


Note
None
Returns
None
Override
Not requered
Attention
None

References u16_ADC_OV_Hyst, u16_ADC_OV_Max, u16_ADC_OV_Min, u16_ADC_SV_Hyst, u16_ADC_SV_Max, u16_ADC_SV_Min, u16_ADC_UV_Hyst, u16_ADC_UV_Max, u16_ADC_UV_Min, u16_DAC_OV_Setpoint, u16_DAC_SV_Setpoint, and u16_DAC_UV_Setpoint.

Referenced by Init().

Here is the caller graph for this function:

◆ Init_P009_05_24V()

VOID TP019_14_KG3_DIO2_T1::Init_P009_05_24V ( )
private

Init parameters for 24 V version.


Note
None
Returns
None
Override
Not requered
Attention
None

References u16_ADC_OV_Hyst, u16_ADC_OV_Max, u16_ADC_OV_Min, u16_ADC_SV_Hyst, u16_ADC_SV_Max, u16_ADC_SV_Min, u16_ADC_UV_Hyst, u16_ADC_UV_Max, u16_ADC_UV_Min, u16_DAC_OV_Setpoint, u16_DAC_SV_Setpoint, and u16_DAC_UV_Setpoint.

Referenced by Init().

Here is the caller graph for this function:

◆ Init_P009_05_6V()

VOID TP019_14_KG3_DIO2_T1::Init_P009_05_6V ( )
private

Init parameters for 6 V version.


Note
None
Returns
None
Override
Not requered
Attention
None

References u16_ADC_OV_Hyst, u16_ADC_OV_Max, u16_ADC_OV_Min, u16_ADC_SV_Hyst, u16_ADC_SV_Max, u16_ADC_SV_Min, u16_ADC_UV_Hyst, u16_ADC_UV_Max, u16_ADC_UV_Min, u16_DAC_OV_Setpoint, u16_DAC_SV_Setpoint, and u16_DAC_UV_Setpoint.

Referenced by Init().

Here is the caller graph for this function:

◆ Map()

VOID TP019_14_KG3_DIO2_T1::Map ( TP019_14_KG3_DIO2_Registers struct_Registers_Base_Address)

Map method.


Note
None
Parameters
[in]*struct_Registers_Base_Address- Pointer on register base address
Returns
None
Override
Not requered
Attention
None

References struct_Registers.

◆ Processing_Measured_Data()

BOOL TP019_14_KG3_DIO2_T1::Processing_Measured_Data ( U16  u16_Voltage_Setpoint,
U8  u8_Cycles_Number,
U16 u16_Measured_Value 
)
private

Processing data reciving from ADC.


Note
None
Parameters
[in]u16_Voltage_Setpoint- Voltage setting value
[in]u8_Cycles_Number- Number of of measurements
[out]*u16_Measured_Value- Pointer on processed measured value
Returns
BOOL - Processing operation status
Return values
false- Data is not valide
true- Operation is done
Override
Not requered
Attention
None

References Chip_Reset(), Collect_Measured_Data(), Compose_U16(), THigh_Precision_Timer_Base::Delay(), object_Delay_Timer, struct_Registers, u16_Measured_Value, and TP019_14_KG3_DIO2_T1::TP019_14_KG3_DIO2_Registers::u16_Voltage_Set_Point.

Referenced by Execute().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Read_Fuse_Bytes()

BOOL TP019_14_KG3_DIO2_T1::Read_Fuse_Bytes ( )
private

Read fuse bytes from the chip.


Note
None
Returns
BOOL - Read operation status
Return values
false- Read operation failed
true- Read operation successed
Override
Not requered
Attention
None

References Exchange_Bytes(), false, and NULL.

Here is the call graph for this function:

◆ Read_Lock_Byte()

BOOL TP019_14_KG3_DIO2_T1::Read_Lock_Byte ( )
private

Read data from the lock byte.


Note
None
Returns
BOOL - Read operation status
Return values
false- Operation falled
true- Operation is done
Override
Not requered
Attention
None

References Exchange_Bytes(), false, and NULL.

Here is the call graph for this function:

◆ Read_Signature_Byte()

BOOL TP019_14_KG3_DIO2_T1::Read_Signature_Byte ( )
private

Read signature bytes from the chip.


Note
None
Returns
BOOL - Read operation status
Return values
false- Read operation failed
true- Read operation successed
Override
Not requered
Attention
None

References Exchange_Bytes(), false, and NULL.

Referenced by Execute().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Read_Verify()

BOOL TP019_14_KG3_DIO2_T1::Read_Verify ( const U8 u8_Programing_Data,
U16  u16_Length 
)
private

Read data from the chip for validate.


Note
None
Parameters
[in]*u8_Programing_Data- Pointer on data for comparative
[in]u16_Length- Length of the data
Returns
BOOL - Validate operation status
Return values
false- The data read does not correspond to the required
true- Data is valid
Override
Not requered
Attention
None

References Exchange_Bytes(), false, and NULL.

Referenced by Execute().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Send_Information()

VOID TP019_14_KG3_DIO2_T1::Send_Information ( TProtocol_Base object_Protocol)
virtual

Block execution method.


Note
None
Parameters
[in]*object_Protocol- Pointer on protocol for displaying information
Returns
None
Override
Not requered
Attention
None

References struct_Registers, TProtocol_Base::Transmit_String(), TProtocol_Base::Transmit_U32_Value_As_Hex(), TP019_14_KG3_DIO2_T1::TP019_14_KG3_DIO2_Registers::u16_Unit_ID_H, and TP019_14_KG3_DIO2_T1::TP019_14_KG3_DIO2_Registers::u16_Unit_ID_L.

Here is the call graph for this function:

◆ Transmit_Bytes()

BOOL TP019_14_KG3_DIO2_T1::Transmit_Bytes ( U8  u8_Transmit_Byte_1,
U8  u8_Transmit_Byte_2,
U8  u8_Transmit_Byte_3,
U8  u8_Transmit_Byte_4 
)
private

Transmit data to ATiny13A.


Note
None
Parameters
[in]u8_Transmit_Byte_1- Data byte 1 for transmitting
[in]u8_Transmit_Byte_2- Data byte 2 for transmitting
[in]u8_Transmit_Byte_3- Data byte 3 for transmitting
[in]u8_Transmit_Byte_4- Data byte 4 for transmitting
Returns
BOOL - Data exchange operation status
Return values
false- Transmitting operation failed
true- Transmitting operation successed
Override
Not requered
Attention
None

References struct_Registers, TP019_14_KG3_DIO2_T1::TData_Register::u16_Data, TP019_14_KG3_DIO2_T1::TP019_14_KG3_DIO2_Registers::u16_Data_Register, TP019_14_KG3_DIO2_T1::TData_Register::u16_Raw_Data, and Wait_Busy_Bit().

Referenced by Chip_Erase(), Chip_Programming(), Write_Fuse_Bytes(), and Write_Lock_Byte().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Verify_Erase()

BOOL TP019_14_KG3_DIO2_T1::Verify_Erase ( )
private

Read data from the chip for validate and check that memory is empty.


Note
None
Returns
BOOL - Validate operation status
Return values
false- The data read does not correspond to the required
true- Data is valid
Override
Not requered
Attention
None

References Exchange_Bytes(), false, and NULL.

Referenced by Execute().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Wait_Busy_Bit()

BOOL TP019_14_KG3_DIO2_T1::Wait_Busy_Bit ( )
private

Wait while busy bit is set low.


Note
None
Returns
BOOL - Operation status
Return values
false- Time is out
true- Busy bit have low level
Override
Not requered
Attention
None

References TSystem_Timer_Base::Is_Timeout_ms(), object_System_Timer, Status_Register, struct_Registers, true, TP019_14_KG3_DIO2_T1::TStatus_Register::u16_Busy, TP019_14_KG3_DIO2_T1::TStatus_Register::u16_Raw_Data, and TP019_14_KG3_DIO2_T1::TP019_14_KG3_DIO2_Registers::u16_Status_Register.

Referenced by Exchange_Bytes(), and Transmit_Bytes().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Write_Fuse_Bytes()

BOOL TP019_14_KG3_DIO2_T1::Write_Fuse_Bytes ( U8  u8_Low_Bute,
U8  u8_High_Bute 
)
private

Write fuse bytes to the chip.


Note
None
Parameters
[in]u8_Low_Bute- Low fuse bite
[in]u8_High_Bute- High fuse bite
Returns
BOOL - Write operation status
Return values
false- Write operation failed
true- Write operation successed
Override
Not requered
Attention
None

References Transmit_Bytes().

Here is the call graph for this function:

◆ Write_Lock_Byte()

BOOL TP019_14_KG3_DIO2_T1::Write_Lock_Byte ( U8  u8_Lock_Byte)
private

Write data to lock byte.


Note
None
Parameters
[in]u8_Lock_Byte- Data witch need to write in Lock byte
Returns
BOOL - Write operation status
Return values
false- Operation falled
true- Operation is done
Override
Not requered
Attention
None

References Transmit_Bytes().

Here is the call graph for this function:

Member Data Documentation

◆ FSM_State

TGlobal_FSM_State TP019_14_KG3_DIO2_T1::FSM_State
private

Contain state for FSM.

Referenced by Execute().

◆ object_bool_Done

TBlock_Output_Connector TP019_14_KG3_DIO2_T1::object_bool_Done

◆ object_bool_Error

TBlock_Output_Connector TP019_14_KG3_DIO2_T1::object_bool_Error

◆ object_bool_Start

TBlock_Input_Connector TP019_14_KG3_DIO2_T1::object_bool_Start

Referenced by Execute(), and TP019_14_KG3_DIO2_T1().

◆ object_u32_Device_ID

TBlock_Input_Connector TP019_14_KG3_DIO2_T1::object_u32_Device_ID

Referenced by Init(), and TP019_14_KG3_DIO2_T1().

◆ object_u8_Command

TBlock_Input_Connector TP019_14_KG3_DIO2_T1::object_u8_Command

Referenced by TP019_14_KG3_DIO2_T1().

◆ Status_Register

volatile TStatus_Register TP019_14_KG3_DIO2_T1::Status_Register
private

Status register.

Referenced by Wait_Busy_Bit().

◆ struct_Registers

volatile TP019_14_KG3_DIO2_Registers* TP019_14_KG3_DIO2_T1::struct_Registers
private

◆ u16_ADC_OV

U16 TP019_14_KG3_DIO2_T1::u16_ADC_OV
private

Overvoltage measured values.

Referenced by Execute().

◆ u16_ADC_OV_Hyst

U16 TP019_14_KG3_DIO2_T1::u16_ADC_OV_Hyst
private

Hyst values for overvoltage calibration.

Referenced by Execute(), Init_P009_05_12V(), Init_P009_05_24V(), and Init_P009_05_6V().

◆ u16_ADC_OV_Max

U16 TP019_14_KG3_DIO2_T1::u16_ADC_OV_Max
private

Max overvoltage voltage value.

Referenced by Init_P009_05_12V(), Init_P009_05_24V(), and Init_P009_05_6V().

◆ u16_ADC_OV_Min

U16 TP019_14_KG3_DIO2_T1::u16_ADC_OV_Min
private

Min overvoltage voltage value.

Referenced by Init_P009_05_12V(), Init_P009_05_24V(), and Init_P009_05_6V().

◆ u16_ADC_SV

U16 TP019_14_KG3_DIO2_T1::u16_ADC_SV
private

Startup measured values.

Referenced by Execute().

◆ u16_ADC_SV_Hyst

U16 TP019_14_KG3_DIO2_T1::u16_ADC_SV_Hyst
private

Hyst values for startup calibration.

Referenced by Execute(), Init_P009_05_12V(), Init_P009_05_24V(), and Init_P009_05_6V().

◆ u16_ADC_SV_Max

U16 TP019_14_KG3_DIO2_T1::u16_ADC_SV_Max
private

Max startup voltage value.

Referenced by Init_P009_05_12V(), Init_P009_05_24V(), and Init_P009_05_6V().

◆ u16_ADC_SV_Min

U16 TP019_14_KG3_DIO2_T1::u16_ADC_SV_Min
private

Min startup voltage value.

Referenced by Init_P009_05_12V(), Init_P009_05_24V(), and Init_P009_05_6V().

◆ u16_ADC_UV

U16 TP019_14_KG3_DIO2_T1::u16_ADC_UV
private

Undervoltage measured values.

Referenced by Execute().

◆ u16_ADC_UV_Hyst

U16 TP019_14_KG3_DIO2_T1::u16_ADC_UV_Hyst
private

Hyst values for undervoltage calibration.

Referenced by Execute(), Init_P009_05_12V(), Init_P009_05_24V(), and Init_P009_05_6V().

◆ u16_ADC_UV_Max

U16 TP019_14_KG3_DIO2_T1::u16_ADC_UV_Max
private

Max undervoltage voltage value.

Referenced by Init_P009_05_12V(), Init_P009_05_24V(), and Init_P009_05_6V().

◆ u16_ADC_UV_Min

U16 TP019_14_KG3_DIO2_T1::u16_ADC_UV_Min
private

Min undervoltage voltage value.

Referenced by Init_P009_05_12V(), Init_P009_05_24V(), and Init_P009_05_6V().

◆ u16_DAC_OV_Setpoint

U16 TP019_14_KG3_DIO2_T1::u16_DAC_OV_Setpoint
private

DAC Setpoints for overvoltage calibration.

Referenced by Execute(), Init_P009_05_12V(), Init_P009_05_24V(), and Init_P009_05_6V().

◆ u16_DAC_SV_Setpoint

U16 TP019_14_KG3_DIO2_T1::u16_DAC_SV_Setpoint
private

DAC Setpoints for startup calibration.

Referenced by Execute(), Init_P009_05_12V(), Init_P009_05_24V(), and Init_P009_05_6V().

◆ u16_DAC_UV_Setpoint

U16 TP019_14_KG3_DIO2_T1::u16_DAC_UV_Setpoint
private

DAC Setpoints for undervoltage calibration.

Referenced by Execute(), Init_P009_05_12V(), Init_P009_05_24V(), and Init_P009_05_6V().

◆ u16_Measured_Value

U16 TP019_14_KG3_DIO2_T1::u16_Measured_Value
private

Voltage value.

Referenced by Processing_Measured_Data().

◆ u32_Manufacturer_Data_Device_ID

U32 TP019_14_KG3_DIO2_T1::u32_Manufacturer_Data_Device_ID
private

Manufacturer data Device ID.

Referenced by Execute(), and Init().

◆ u32_Manufacturer_Data_Production_Factory_ID

U32 TP019_14_KG3_DIO2_T1::u32_Manufacturer_Data_Production_Factory_ID
private

Manufacturer data factory ID.

Referenced by Execute(), and Init().

◆ u32_Manufacturer_Data_Serial_Number

U32 TP019_14_KG3_DIO2_T1::u32_Manufacturer_Data_Serial_Number
private

Manufacturer serial number.

Referenced by Execute(), and Init().

◆ u8_Data_Buffer

U8 TP019_14_KG3_DIO2_T1::u8_Data_Buffer[512]
private

Firmware data.

Referenced by Execute().


The documentation for this class was generated from the following files: