DCCxxCR0 (SPIM Control:0-110)
140
CY8C28xxx PSoC Programmable System-on-Chip TRM, Document No. 001-52594 Rev. *G
0,2Bh
13.2.13
DCCxxCR0
(SPIM Control:0-110)
Digital Communication Type C Block Control Register 0
This register is the Control register for a SPIM, if the
register is configured as a ‘110’.
The LSb First, Clock Phase, and Clock Polarity bits are configuration bits and should never be changed when the block is
enabled. They can be set at the same time that the block is enabled. Refer to the
for naming
convention and digital row availability information. For additional information, refer to the
“Register Definitions” on page 348
in
the Digital Blocks chapter.
7
LSb First
This bit should not be changed during an SPI transfer.
0
Data is shifted out MSb first.
1
Data is shifted out LSb first.
6
Overrun
0
No overrun has occurred.
1
Overrun has occurred. Indicates that a new byte is received and loaded into the RX Buffer
before the previous one is read. It is cleared on a read of this (CR0) register.
5
SPI Complete
0
Indicates that a byte may still be in the process of shifting out, or no transmission is active.
1
Indicates that a byte is shifted out and all associated clocks are generated. It is cleared on a
read of this (CR0) register. Optional interrupt.
4
TX Reg Empty
Reset state and the state when the block is disabled is ‘1’.
0
Indicates that a byte is currently buffered in the TX register.
1
Indicates that a byte is written to the TX register and cleared on write of the TX Buffer (DR1)
register. This is the default interrupt. This status is initially asserted on block enable; how-
ever, the TX Reg Empty interrupt will occur only after the first data byte is written and trans-
ferred into the shifter.
3
RX Reg Full
0
RX register is empty.
1
A byte is received and loaded into the RX register. It is cleared on a read of the RX Buffer
(DR2) register.
2
Clock Phase
0
Data is latched on the leading clock edge. Data changes on the trailing edge (Modes 0, 1).
1
Data changes on the leading clock edge. Data is latched on the trailing edge (Modes 2, 3).
1
Clock Polarity
0
Non-inverted, clock idles low (Modes 0, 2).
1
Inverted, clock idles high (Modes 1, 3).
0
Enable
0
SPI Master is not enabled.
1
SPI Master is enabled.
Individual Register Names and Addresses:
0,2Bh
DCC02CR0: 0,2Bh
DCC03CR0: 0,2Fh
DCC12CR0: 0,3Bh
DCC13CR0: 0,3Fh
DCC22CR0: 0,4Bh
DCC23CR0: 0,4Fh
7
6
5
4
3
2
1
0
Access : POR
RW : 0
R : 0
R : 0
R : 1
R : 0
RW : 0
RW : 0
RW : 0
Bit Name
LSb First
Overrun
SPI Complete
TX Reg Empty
RX Reg Full
Clock Phase
Clock Polarity
Enable
Bit
Name
Description
Содержание CY8C28 series
Страница 65: ...64 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G RAM Paging ...
Страница 85: ...84 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G Internal Main Oscillator IMO ...
Страница 93: ...92 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G External Crystal Oscillator ECO ...
Страница 97: ...96 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G Phase Locked Loop PLL ...
Страница 125: ...124 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G ...
Страница 311: ...310 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G IDAC_CR0 1 FDh ...
Страница 317: ...316 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G ...
Страница 393: ...392 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G ...
Страница 425: ...424 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G Analog Reference ...
Страница 461: ...460 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G Two Column Limited Analog System ...
Страница 477: ...476 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G Digital Clocks ...
Страница 483: ...482 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G Multiply Accumulate MAC ...
Страница 513: ...512 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G Internal Voltage Reference ...
Страница 523: ...522 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G Switch Mode Pump SMP ...
Страница 533: ...532 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G I O Analog Multiplexer ...
Страница 537: ...536 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G Real Time Clock RTC ...
Страница 561: ...560 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G ...