openc3-cosmos-init/plugins/packages/openc3-cosmos-demo/targets/INST2/tables/config/MCConfigurationTable_def.txt
TABLE "MC_Configuration" BIG_ENDIAN KEY_VALUE "Memory Control Configuration Table"
APPEND_PARAMETER "Scrub_Region_1_Start_Addr" 32 UINT 0 0x03FFFFFB 0
FORMAT_STRING "0x%0X"
APPEND_PARAMETER "Scrub_Region_1_End_Addr" 32 UINT 0 0x03FFFFFF 0x03FFFFFF
FORMAT_STRING "0x%0X"
APPEND_PARAMETER "Scrub_Region_2_Start_Addr" 32 UINT 0 0x03FFFFB 0
FORMAT_STRING "0x%0X"
APPEND_PARAMETER "Scrub_Region_2_End_Addr" 32 UINT 0 0x03FFFFF 0x03FFFFF
FORMAT_STRING "0x%0X"
APPEND_PARAMETER "Dump_Packet_Throttle_(sec)" 32 UINT 0 0x0FFFFFFFF 2 "Number of seconds to wait between dumping large packets"
APPEND_PARAMETER "Memory_Scrubbing" 8 UINT 0 1 1
STATE DISABLE 0
STATE ENABLE 1
APPEND_PARAMETER "SIOC_Memory_Config" 8 UINT 1 3 3
GENERIC_WRITE_CONVERSION_START
if packet.read("Memory_Scrubbing") == 'DISABLE'
packet.get_item("SIOC_Memory_Config").range = (10..20)
else
packet.get_item("SIOC_Memory_Config").range = (1..3)
end
value
GENERIC_WRITE_CONVERSION_END
APPEND_PARAMETER "Uneditable_Text" 32 UINT MIN MAX 0xDEADBEEF "Uneditable field"
FORMAT_STRING "0x%0X"
UNEDITABLE
APPEND_PARAMETER "Uneditable_State" 16 UINT MIN MAX 0 "Uneditable field"
STATE DISABLE 0
STATE ENABLE 1
UNEDITABLE
APPEND_PARAMETER "Uneditable_Check" 16 UINT MIN MAX 1 "Uneditable field"
STATE UNCHECKED 0
STATE CHECKED 1
UNEDITABLE
APPEND_PARAMETER "Binary" 32 STRING 0xDEADBEEF "Binary string"
APPEND_PARAMETER "Pad" 16 UINT 0 0 0
HIDDEN