GR740-UM-DS, Nov 2017, Version 1.7 275 www.cobham.com/gaisler
GR740
17.9.7 Transmit Channel Address Register [CanTxADDR]
Table 346.0x204 - CanTxADDR - Transmit Channel Address Register
17.9.8 Transmit Channel Size Register [CanTxSIZE]
Table 347.0x208 - CanTxSIZE - Transmit Channel Size Register
Valid SIZE values are between 0 and 16384.
Note that each message occupies four 32-bit words.
Note that the resulting behavior of invalid SIZE values is undefined.
Note that only (SIZE*4)-1 messages can be stored simultaneously in the buffer. This is to simplify
wrap-around condition checking.
17.9.9 Transmit Channel Write Register [CanTxWR]
Table 348.0x20C - CanTxWR - Transmit Channel Write Register
The WRITE field is written to in order to initiate a transfer, indicating the position +1 of the last mes-
sage to transmit.
Note that it is not possible to fill the buffer. There is always one message position in buffer unused.
Software is responsible for not over-writing the buffer on wrap around (i.e. setting WRITE=READ).
The field is implemented as relative to the buffer base address (scaled with the SIZE field).
31 10 9 0
ADDR
0
rw
31: 10 ADDR - Base address for circular buffer
31 21 20 6 5 0
SIZE
0
rw
20: 6 SIZE - The size of the circular buffer is SIZE*4 messages
31 20 19 4 3 0
WRITE
0
rw
19: 4 WRITE - Pointer to last written message +1