CAN_FilterMessages⚠ |
Configures the reception filter.
The message filter will be expanded with every call to
this function. If it is desired to reset the filter, please use
the CAN_SetValue function
"The handle of a PCAN Channel"
"The lowest CAN ID to be received"
"The highest CAN ID to be received"
"Message type, Standard (11-bit identifier) or
Extended (29-bit identifier)"
"A TPCANStatus error code"
|
CAN_GetErrorText⚠ |
Returns a descriptive text of a given TPCANStatus error
code, in any desired language
The current languages available for translation are:
Neutral (0x00), German (0x07), English (0x09), Spanish (0x0A),
Italian (0x10) and French (0x0C)
"A TPCANStatus error code"
"Indicates a 'Primary language ID'"
"Buffer for a null terminated char array"
"A TPCANStatus error code"
|
CAN_GetStatus⚠ |
Gets the current status of a PCAN Channel
"The handle of a PCAN Channel"
"A TPCANStatus error code"
|
CAN_GetValue⚠ |
Retrieves a PCAN Channel value
Parameters can be present or not according with the kind
of Hardware (PCAN Channel) being used. If a parameter is not available,
a PCAN_ERROR_ILLPARAMTYPE error will be returned
"The handle of a PCAN Channel"
"The TPCANParameter parameter to get"
"Buffer for the parameter value"
"Size in bytes of the buffer"
"A TPCANStatus error code"
|
CAN_Initialize⚠ |
Initializes a PCAN Channel
"The handle of a PCAN Channel"
"The speed for the communication (BTR0BTR1 code)"
"NON PLUG&PLAY: The type of hardware and operation mode"
"NON PLUG&PLAY: The I/O address for the parallel port"
"NON PLUG&PLAY: Interrupt number of the parallel port"
"A TPCANStatus error code"
|
CAN_InitializeFD⚠ |
f_clock_mhz=80,nom_brp=0,nom_tseg1=13,nom_tseg2=0,nom_sjw=0,data_brp=0,
data_tseg1=13,data_tseg2=0,data_sjw=0
"A TPCANStatus error code"
|
CAN_Read⚠ |
Reads a CAN message from the receive queue of a PCAN Channel
"The handle of a PCAN Channel"
"A TPCANMsg structure buffer to store the CAN message"
"A TPCANTimestamp structure buffer to get
the reception time of the message. If this value is not desired, this parameter
should be passed as NULL"
"A TPCANStatus error code"
|
CAN_ReadFD⚠ |
Reads a CAN message from the receive queue of a FD capable PCAN Channel
"The handle of a FD capable PCAN Channel"
"A TPCANMsgFD structure buffer to store the CAN message"
"A TPCANTimestampFD buffer to get
the reception time of the message. If this value is not desired, this parameter
should be passed as NULL"
"A TPCANStatus error code"
|
CAN_Reset⚠ |
Resets the receive and transmit queues of the PCAN Channel
A reset of the CAN controller is not performed.
"The handle of a PCAN Channel"
"A TPCANStatus error code"
|
CAN_SetValue⚠ |
Configures or sets a PCAN Channel value
Parameters can be present or not according with the kind
of Hardware (PCAN Channel) being used. If a parameter is not available,
a PCAN_ERROR_ILLPARAMTYPE error will be returned
"The handle of a PCAN Channel"
"The TPCANParameter parameter to set"
"Buffer with the value to be set"
"Size in bytes of the buffer"
"A TPCANStatus error code"
|
CAN_Uninitialize⚠ |
Uninitializes one or all PCAN Channels initialized by CAN_Initialize
Giving the TPCANHandle value "PCAN_NONEBUS",
uninitialize all initialized channels
"The handle of a PCAN Channel"
"A TPCANStatus error code"
|
CAN_Write⚠ |
Transmits a CAN message
"The handle of a PCAN Channel"
"A TPCANMsg buffer with the message to be sent"
"A TPCANStatus error code"
|
CAN_WriteFD⚠ |
Transmits a CAN message over a FD capable PCAN Channel
"The handle of a FD capable PCAN Channel"
"A TPCANMsgFD buffer with the message to be sent"
"A TPCANStatus error code"
|