ADwin-Pro II
Hardware, manual Dec. 2018
169
Pro II: Extension and Interface Modules
Pro II-CAN-FD-2 Rev. E
ADwin
Programming in
TiCoBasic
The module can be programmed with
TiCoBasic
instructions. The instructions
are described in
TiCoBasic
online help.
The include file
CAN_TiCo.inc
contains instructions for the functions:
Function
Instructions
Initialize CAN controller, set
Baud rate
CANFD_Init_Datatable
CANFD_Init_Controller
CANFD_Enable_Receive_Fifo
CANFD_Enable_Transmit_Fifo
CANFD_Enable_Transmit_Queue
CANFD_Enable_Transmit_Event_Fifo
CANFD_Set_Baudrate_Nominal
CANFD_Set_Baudrate_Data
CANFD_Set_SID11
CANFD_Set_TDC
CANFD_Set_Mode
Check status
CANFD_Get_Fifo_State
Read message
CANFD_Read_RMO
CANFD_Get_Header_Parts
CANFD_Get_ID
CANFD_Get_ESI
CANFD_Get_FDF
CANFD_Get_BRS
CANFD_Get_RTR
CANFD_Get_IDE
CANFD_Get_DLC
Transfer and check message
CANFD_Write_TMO
CANFD_Transmit_MSG
CANFD_Transmit_Multi_MSG
CANFD_Read_EFO
CANFD_Get_SEQ
Read registers
CANFD_Get_TREC
,
CANFD_Get_BDIAG0
CANFD_Get_BDIAG1
Use LED
Check_LED
,
Set_LED
,
CANFD_Set_LED