60
Document # 001-20559 Rev. *D
0,2Bh
13.2.12
DCBxxCR0
(SPIM Control)
Digital Communication Type B Block Control Register 0
This register is the Control register for an 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 once 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 187
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 occurs 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
DCB02CR0: 0,2Bh
DCB03CR0: 0,2Fh
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
Содержание PSoC CY8C23533
Страница 4: ...Contents Overview 4 Document 001 20559 Rev D Section G Glossary 385 Index 401 ...
Страница 16: ...Contents Overview 16 Document 001 20559 Rev D ...
Страница 24: ...24 Document 001 20559 Rev D Section A Overview ...
Страница 30: ...30 Document 001 20559 Rev D Pin Information ...
Страница 54: ...54 Document 001 20559 Rev D Supervisory ROM SROM ...
Страница 60: ...60 Document 001 20559 Rev D RAM Paging ...
Страница 68: ...68 Document 001 20559 Rev D Interrupt Controller ...
Страница 76: ...12 Document 001 20559 Rev D General Purpose IO GPIO ...
Страница 82: ...18 Document 001 20559 Rev D Internal Main Oscillator IMO ...
Страница 84: ...20 Document 001 20559 Rev D Internal Low Speed Oscillator ILO ...
Страница 90: ...26 Document 001 20559 Rev D External Crystal Oscillator ECO ...
Страница 94: ...30 Document 001 20559 Rev D Phase Locked Loop PLL ...
Страница 106: ...42 Document 001 20559 Rev D Sleep and Watchdog ...
Страница 228: ...164 Document 001 20559 Rev D Section D Digital System ...
Страница 234: ...170 Document 001 20559 Rev D Array Digital Interconnect ADI ...
Страница 278: ...214 Document 001 20559 Rev D Digital Blocks ...
Страница 296: ...232 Document 001 20559 Rev D Analog Interface ...
Страница 304: ...240 Document 001 20559 Rev D Analog Array ...
Страница 308: ...244 Document 001 20559 Rev D Analog Input Configuration ...
Страница 312: ...248 Document 001 20559 Rev D Analog Reference ...
Страница 338: ...274 Document 001 20559 Rev D Section F System Resources ...
Страница 354: ...290 Document 001 20559 Rev D Multiply Accumulate MAC ...
Страница 374: ...310 Document 001 20559 Rev D I2C ...
Страница 400: ...336 Document 001 20559 Rev D Section G Glossary ...