UCPD Tx payload size register
TXPAYSZ | Payload size yet to transmit The bitfield is modified by software and by hardware. It contains the number of bytes of a payload (including header but excluding CRC) yet to transmit: each time a data byte is written into the UCPD_TXDR register, the bitfield value decrements and the TXIS bit is set, except when the bitfield value reaches zero. The enumerated values are standard payload sizes before the start of transmission. 2 (B_0x2): 2 bytes - the size of Control message from the protocol layer 6 (B_0x6): 6 bytes - the shortest Data message allowed from the protocol layer) 30 (B_0x1E): 30 bytes - the longest non-extended Data message allowed from the protocol layer 262 (B_0x106): 262 bytes - the longest possible extended message 1023 (B_0x3FF): 1024 bytes - the longest possible payload (for future expansion) |