34.6.5.12 Length

Write to this register only when SYNCBUSY.LENGTH = 0, otherwise a bus error will result.
Table 34-18. Register Bit Attribute Legend
Symbol Description Symbol Description Symbol Description
R Readable bit HC Cleared by Hardware (Grey cell) Unimplemented
W Writable bit HS Set by Hardware X Bit is unknown at Reset
K Write to clear S Software settable bit
Name: LENGTH
Offset: 0x22
Reset: 0x00
Property:  Write-Synchronized

Bit 15141312111098 
       LENEN[1:0] 
Access R/WR/W 
Reset 00 
Bit 76543210 
 LEN[7:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 

Bits 9:8 – LENEN[1:0] Data Length Enable

In 32-bit Extension mode, this bit field configures the length counter either for transmit or receive transactions.

ValueDescription
0x0 Length counter disabled
0x1 Length counter enabled for transmit
0x2 Length counter enabled for receive
0x3 Reserved

Bits 7:0 – LEN[7:0] Data Length

In 32-bit Extension mode, this bit field configures the data length after which the flags INTFLAG.RXC or INTFLAG.DRE are raised.

ValueDescription
0x00 Reserved if LENEN=0x1 or LENEN=0x2
0x01-0xFF Data Length