34.9.12 Length

Write to this register only when SYNCBUSY.LENGTH = 0, otherwise a bus error will result.
Table 34-32. 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: RW

Bit 15141312111098 
       LENEN[1:0] 
Access RWRW 
Reset 00 
Bit 76543210 
 LEN[7:0] 
Access RWRWRWRWRWRWRWRW 
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