36.9.12 Length

Write to this register only when SYNCBUSY.LENGTH = 0, otherwise a bus error will result.
Table 36-30. Register Bit Attribute Legend
SymbolDescriptionSymbolDescriptionSymbolDescription
RReadable bitHCCleared by Hardware(Grey cell)Unimplemented
WWritable bitHSSet by HardwareXBit is unknown at Reset
KWrite to clearSSoftware settable bit
Name: LENGTH
Offset: 0x22
Reset: 0x0000
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.

ValueNameDescription
0x0DISABLELength counter is disabled
0x1TXLength counter is enabled for transmit
0x2RXLength counter is enabled for receive

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
0x00Reserved if LENEN=0x1 or LENEN=0x2
0x01-0xFFData Length