English
Language : 

MEC1404 Datasheet, PDF (141/572 Pages) Microchip Technology – Keyboard and Embedded Controller Products for Notebook PC
MEC140X/1X
Offset 04h
Bits
Description
Type
5:4 TX_DMA_ENABLE
R/W
This bit enables DMA support for Transmit Transfer. If enabled,
DMA will be requested to fill the FIFO until either the interface
reaches TRANSFER_LENGTH or the DMA sends a termination
request. The size defined here must match DMA programmed
access size.
1=DMA is enabled.and set to 1 Byte
2=DMA is enabled and set to 2 Bytes
3=DMA is enabled and set to 4 Bytes
0=DMA is disabled. All data in the Transmit Buffer must be emptied
by firmware
3:2 TX_TRANSFER_ENABLE
R/W
This field bit selects the transmit function of the SPI interface.
3=Transmit Enabled in 1 Mode. The MOSI or IO Bus will send out
only 1's. The Transmit Buffer will not be used
2=Transmit Enabled in 0 Mode. The MOSI or IO Bus will send out
only 0's. The Transmit Buffer will not be used.
1=Transmit Enabled. Data will be fetched from the Transmit Buffer
and sent out on the MOSI or IO Bus.
0=Transmit is Disabled. Not data is sent. This will cause the MOSI
be to be undriven, or the IO bus to be undriven if Receive is
also disabled.
1:0 INTERFACE_MODE
R/W
This field sets the transmission mode. If this field is set for Dual
Mode or Quad Mode then either TX_TRANSFER_ENABLE or
RX_TRANSFER_ENABLE must be 0.
3=Reserved
2=Quad Mode
1=Dual Mode
0=Single/Duplex Mode
6.11.3 QMSPI EXECUTE REGISTER
Default
0h
Reset
Event
RESET
0h
RESET
0h
RESET
Offset 08h
Bits
Description
Type
31:3 Reserved
R
2 CLEAR_DATA_BUFFER
W
Writing a ‘1’ to this bit will clear out the Transmit and Receive
FIFOs. Any data stored in the FIFOs is discarded and all count
fields are reset. Writing a ‘0’ to this bit has no effect. This bit is self-
clearing.
Default
-
0h
Reset
Event
-
RESET
 2015 - 2016 Microchip Technology Inc.
DS00001956D-page 141