This library provides functions for the different interfaces of the rapidM2M C3xx device. The library supports both rapidM2M C33x and rapidM2M C32x devices.
global C3 configuration structure
Number of Command Queue Entries for IO Controller Communication
20
20
IO Controller Identification Structure
Possible C3xx states
IO Controller Ready (Callback for C3_Init())
initializes C3 Base Library
Read IO Controller Firmware Identification
IO Controller ID information is available (Callback for IOCtrl_GetId())
Set IO Controller Debug Output Port.
Force IO Controller Shutdown.
IO Controller System Value Flags (Bitmask)
IO Controller Reset Cause enumerator
IO Controller Exception Causes
C3xx Error Codes
IO Controller System Values
IO Extension System Values
Read IO Controller System Values.
IO Controller System Values are available (Callback for IOCtrl_GetSysValues() )
IO Extension System Values are available (Callback for IOCtrl_GetSysValues() )
"C3 IOController"
"C3 IOExtension"
Firmware information structure
Read Firmware Info
Firmware information is available (Callback for IOCtrl_GetFwInfo() )
Enable IO Controller firmware downgrades
Disable IO Controller firmware downgrades
Trigger IO Controller firmware update
IO Controller firmware update Process completed (Callback for IOCtrl_Update() )
Control flags for Timesynch function IOCtrl_Time
interval [s] for verifying IO Controller time against M2M module time
IO Controller Timesynch function
Callback function for IOCtrl_Time
Shuts down the rapidM2M C3xx immediately in a controlled manner.
Sets the timeouts used during the shutdown handling procedure.
Returns the current state of the backup supply.
The supply has been switched to the rechargeable buffer battery and the outage timeout was started. The applog entry "MT_BACKUPSUPPLY, MT_BACKUPSUPPLY_BATTERY_ACTIVE" is also generated.
The outage timeout has expired and the rapidM2M C3xx is still supplied via the rechargeable buffer battery. The applog entry "MT_BACKUPSUPPLY, MT_BACKUPSUPPLY_OUTAGE_EXPIRED" is also generated.
The supply voltage is available again and the rechargeable buffer battery has been disabled. The applog entry "MT_BACKUPSUPPLY, MT_BACKUPSUPPLY_EXT_SUPPLY_ACT" is also generated.
control the RGB Led
Possible button events
Registers a callback for the specified button event
Close the button handling started with C3_ButtonInit()
List all available files
File was stored on the IO Controller
UI Channel Input Types
UI Channel enumerator
Number of UI channels of the rapidM2M C3xx base unit
Number of UI channels of the rapidM2M C3e 12UI/2Rel extension module
Init an UI channel
UI channel init completed (Callback for IOCtrl_UI_Init(), rapidM2M C3xx)
UI channel init completed (Callback for IOCtrl_UI_Init(), C3 IO Extension)
Close an UI channel
Get current UI channel value.
Current UI channel value available (Callback for IOCtrl_UI_GetValue() )
Current UI channel value is available (Callback for IOCtrl_UI_GetValue() )
Get stored values for Digital Input UI channel(s)
Last stored values for Digital Input UI channel is available (Callback for IOCtrl_UI_GetLastDigital() )
Last stored values for Digital Input UI channel is available (Callback for IOCtrl_UI_GetLastDigital() )
Reset counters and get value.
The counter has been reset (Callback for IOCtrl_UI_ResetCounter() )
The counter has been reset (Callback for IOCtrl_UI_ResetCounter() )
Supported UI Trigger Types
UI Trigger events
Modes for starting UI Standard Trigger
Modes for stopping UI Standard Trigger
Configuration Flags (bitwise OR'able) for UI Standard Trigger
UI Standard Trigger configuration
Init Standard Trigger for UI channel
Standard Trigger init for UI channel completed (Callback IOCtrl_UI_StdTriggerInit(), rapidM2M C3xx )
Close Trigger for UI channel
UI Trigger data structure
20
Read available trigger events from IO controller
Callback Function for IOCtrl_UI_TriggerRead
Buffersize RS232 Tx FIFO
RS232 Read Length
Available RS232 Interfaces
RS232 Configuration Bits (Bitmask)
Initialise RS232 interface.
RS232 interface initialization completed (Callback for IOCtrl_RS232_Init() )
Data was received via the RS232 interface (Callback for IOCtrl_RS232_Init() )
Send data over RS232 interface.
Process which sends data via the RS232 Interface was completed (Callback for IOCtrl_RS232_Write() )
Close RS232 interface.
Buffersize RS485 Tx FIFO
RS485 Read Length
Available RS485 Interfaces
RS485 Configuration Bits (Bitmask)
Initialise RS485 interface.
RS485 interface initialization completed (Callback function for IOCtrl_RS485_Init() )
Data was received via the RS485 interface (Callback function for IOCtrl_RS485_Init() )
Send data over RS485 interface.
Process which sends data via the RS485 Interface was completed (Callback for IOCtrl_RS485_Write() )
Close RS485 interface.
Number of entries within CAN Tx Message Buffer
Available CAN interfaces
Supported Data Length Values
0x00000000 (Bitmask) - 11-bit Id
0x40000000 (Bitmask) - 29-bit Id
0x00000000 (Bitmask)
0x20000000 (Bitmask)
CAN Configuration Flags (Bitmask)
0x00000000 (Bitmask, Transmitting node is error active)
0x80000000 (Bitmask, Transmitting node is error passive)
0x00000000 (CAN FD frames transmitted/received without bit rate switching)
0x00100000 (CAN FD frames transmitted/received with bit rate switching)
0x00000000 (Bitmask, Frame transmitted/received in Classic CAN format)
0x00200000 (Bitmask, Frame transmitted/received in CAN FD format)
CAN Tx Event Fifo Control
CAN Tx Header structure
CAN Rx Header structure
CAN Rx Events (unsolicited UART response)
CAN Protocol Status Information
CAN Protocol Error
CAN Status information structure
CAN Global Filter Configuration (Bitmask)
Type of CAN Filter
CAN Filter Configuration
CAN Filter configuration structure
CAN configuration structure
Default CAN Bittiming
Supported CAN(CAN FD) Bitrates
Supported CAN Operating Modes
Usage Modes for CAN interface
Set usage mode for CAN interface
Initialise CAN Interface
CAN interface initialization completed (Callback for IOCtrl_CAN_Init() )
Message was received via the CAN interface (Callback for IOCtrl_CAN_Init() )
Write CAN Message
Process which sends a message via the CAN Interface was completed (Callback for IOCtrl_CAN_Write() )
Close CAN Interface
Get current CAN Interface Status
CAN status information is available (Callback for IOCtrl_CAN_GetStat() )
Digout Channel enumerator
Available Digout Modes
Init a digital output channel
Digital output channel init completed (Callback for IOCtrl_DigOut_Init(), rapidM2M C3xx)
Digital output channel init completed (Callback for IOCtrl_DigOut_Init(), C3 IO Extension)
Close the digital output interface
Set/Clear Digital Output
Process which sets/clears digital output was completed (Callback for IOCtrl_DigOut_SetValue(), rapidM2M C3xx)
Process which sets/clears digital output was completed (Callback for IOCtrl_DigOut_SetValue(), C3 IO Extension)
AO Channel enumerator
Analog Output Modes
Analog Output Status (Bitmask)
Init analog output channel
Analog output channel init completed (Callback for IOCtrl_AO_Init(), C3 IO Extension)
Close analog output channel
Set analog output value
Process which sets the analog output value was completed (Callback for IOCtrl_AO_SetValue(), C3 IO Extension)
Get analog output status
Analog output status is available (Callback for IOCtrl_AO_GetStat(), C3 IO Extension)
Device States for IO extension modules
Prepare for C3 IO Extension usage
IO Extension Ready (Callback for IOExt_Init() )
IO Extension Error (Callback for IOExt_Init() )
Read current device state
Current device state of a extension module is available (Callback for IOExt_GetState() )
Read ID information
ID information of a extension module is available (Callback Function for IOExt_GetId() )
Read Firmware Info
Firmware information of a extension module is available (Callback for IOExt_GetFwInfo() )
Enable IO Extension firmware downgrades
Disable IO Extension firmware downgrades
Trigger firmware update
IO Controller firmware update Process for a extension module completed (Callback for IOExt_Update() )
Number of "Command Sequences" that can be created simultaneously
Size of the buffer (in bytes) available for a individual "Command Sequence"
Enters "single" command sequence mode
Exits "single" command sequence mode and directly sends the built sequence
Enters "multiple" command sequence mode
Exits "multiple" command sequence mode
Sends a specific prebuilt "multiple" command sequence which is selected via "id" (Sequence List identifier. Specified when the "multiple" command sequence was created using IOCtrl_SeqEnterMultiple() )
Make a clean shutdown with IO Controller shutdown, closing CAN, RS232 and RS485 interfaces.
Enter sequence mode
Exit sequence mode
Send sequence command