![background image](http://html1.mh-extra.com/html/ics/xmc-a825-16/xmc-a825-16_user-manual_3532771036.webp)
XMC-A825-16 ARINC-825 16 Channel XMC / CANFlight-16 User's Manual REV C
Document: TP2216-901_Users_Manual.pdf
Page 36 of 39
© Innovative Control Systems
Project:
TP2216-901
Author: K. Jacobson Date: 11.05.2019
Rev.: C
interface structure for transmission. The number of messages to be transmitted is specified by "msg_count".
Return Values:
Upon successful completion,
Pmc825CanAerospaceWrite()
returns PMC825_OK. Otherwise, one of the following
codes is returned:
PMC825_BUF_OVERFLOW: The number of messages specified by "msg_count" exceeded the maximum
number of MAX_CAN_MSG_COUNT.
10.7 Pmc825Arinc825Read()
Synopsis:
#include "pmc825.h"
#include "arinc825.h"
int Pmc825Arinc825Read(PMC825_IF *intf, ARINC825_MSG *msg)
Description:
The
Pmc825Arinc825Read()
function tries to return one ARINC 825 formatted CAN message from the buffer
associated with the CAN channel of the XMC-A825-16 unit specified through the PMC825_IF interface
structure.
Return Values:
Upon successful completion,
Pmc825Arinc825Read()
returns PMC825_OK. Otherwise, one of the following
codes is returned:
PMC825_NO_MSG: No message could be read from the module.
10.8 Pmc825Arinc825Write()
Synopsis:
#include "pmc825.h"
int Pmc825Arinc825Write(PMC825_IF *intf, ARINC825_MSG *msg, int msg_count)
Description:
The
Pmc825Arinc825Write()
function tries to write one or more ARINC 825 formatted CAN messages to the
buffer associated with the CAN channel of the XMC-A825-16 unit specified through the PMC825_IF interface
structure for transmission. The number of messages to be transmitted is specified by "msg_count".
Return Values:
Upon successful completion,
Pmc825Arinc825Write()
returns PMC825_OK. Otherwise, one of the following
codes is returned:
PMC825_BUF_OVERFLOW: The number of messages specified by "msg_count" exceeded the maximum
number of MAX_CAN_MSG_COUNT.
10.9 Pmc825CtrlRead()
Synopsis: