X20 system modules • X20 electronics module communication • X20CS2770
X20 system User's Manual 3.10
1673
4.18.8.7.8.3 New CAN telegram for transmit buffer
Name:
TX01Count
TX02Count
By increasing this value, the application notifies the module that a new CAN telegram should be transferred into
the transmit buffer.
Data type
Value
USINT
0 to 255
4.18.8.7.8.4 Read "TX0[x]Count"
Name:
TX01CountReadBack
TX02CountReadBack
The value of "TX0[x]Count" is copied from the module into this register. This makes it possible for the application
task to verify that the CAN telegram data was transfered from the module correctly.
The meaning of the value depends on the "TxFifoInfo" bit. This is located in the Cfo_TXRXinfoFlags0[x] register.
Data type
Value
"TxFifoInfo" bit
Meaning
0
Read "TX0[x]Count"
USINT
0 to 255
1
See bit structure.
Bit structure:
Bit
Function
Value
Information
0 - 3
Read "TX0[x]Count"
0 to 15
Only the lower 4 bits
4 - 7
Number of frames in the transmit buffer that have not been trans-
mitted
0 to 15
If this number exceeds the 15 (a maximum of 18 possible), the
value 15 is returned.
4.18.8.7.8.5 Counter for received CAN telegrams
Name:
RX01Count
RX02Count
This counter is increased by 1 with each CAN telegram. The application task can thus detect when new data is
received and get it from the corresponding "RX0[x]Data" registers.
The meaning of the value depends on the "Cfo_TXRXinfoFlags0[x]" on page 1671 bit in the "Cfo_TXRXinfoFlags"
register.
Data type
Value
"RxFifoInfo" bit
Meaning
0
Counter for received telegrams
USINT
0 to 255
1
See bit structure.
Bit structure:
Bit
Function
Value
Information
0 - 3
Counter for received telegrams
0 to 15
Only the lower 4 bits
4 - 7
Number of unacknowledged telegrams in the receive buffer
0 to 15
Summary of Contents for X20 System
Page 2: ......