UCPD Rx payload size register
RXPAYSZ | Rx payload size received This bitfield contains the number of bytes of a payload (including header but excluding CRC) received: each time a new data byte is received in the UCPD_RXDR register, the bitfield value increments and the RXMSGEND flag is set (and an interrupt generated if enabled). The bitfield may return a spurious value when a byte reception is ongoing (the RXMSGEND flag is low). 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) |