352
CY8C28xxx PSoC Programmable System-on-Chip TRM, Document No. 001-52594 Rev. *G
Digital Blocks
17.2.1.6
SPI Master Register Definitions
There are three 8-bit Data registers and two Control/Status registers (an 8-bit and a 7-bit).
explains the meaning
of these registers in the context of SPIM operation. The Control registers are described beginning with section
.
17.2.1.7
SPI Slave Register Definitions
There are three 8-bit Data registers and two Control/Status registers (an 8-bit and a 7-bit).
explains the meaning
of these registers in the context of SPIS operation. The Control registers are described beginning with section
.
17.2.1.8
Transmitter Register Definitions
There are three 8-bit Data registers and one 5-bit Control/Status register.
explains the meaning of these registers
in the context of Transmitter operation. The Control registers are described beginning with section
Table 17-16. SPIM Data Register Descriptions
Name
Function
Description
DR0
Shifter
Not readable or writeable.
During normal operation, DR0 implements a Shift register for shifting serial data.
DR1
TX Buffer
Write only register.
If no transmission is in progress and this register is written to, the data from this register (DR1) is loaded into the Shift regis-
ter (DR0), on the following clock edge, and a transmission is initiated. If a transmission is currently in progress, this register
serves as a buffer for TX data.
This register should only be written to when TX Reg Empty status is set, and this write clears the TX Reg Empty status bit in
the Control register. When the data is transferred from this register (DR1) to the Shift register (DR0), then TX Reg Empty sta-
tus is set.
DR2
RX Buffer
Read only register.
When a byte transmission/reception is complete, the data in the shifter (DR0) is transferred into the RX Buffer register and
RX Reg Full status in the Control register is set.
A read from this register (DR2) clears the RX Reg Full status bit in the Control register.
Table 17-17. SPIS Data Register Descriptions
Name
Function
Description
DR0
Shifter
Not readable or writeable.
During normal operation, DR0 implements a Shift register for shifting serial data.
DR1
TX Buffer
Write only register.
This register should only be written to when TX Reg Empty status is set and the write clears the TX Reg Empty status bit in
the Control register. When the data is transferred from this register (DR1) to the Shift register (DR0), then TX Reg Empty sta-
tus is set.
DR2
RX Buffer
Read only register.
When a byte transmission/reception is complete, the data in the shifter (DR0) is transferred into the RX Buffer register and
RX Reg Full status in the Control (CR0) register is set.
A read from this register (DR2) clears the RX Reg Full status bit in the Control register.
Table 17-18. Transmitter Data Register Descriptions
Name
Function
Description
DR0
Shifter
Not readable or writeable.
During normal operation, DR0 implements a shift register for shifting out serial data.
DR1
TX Buffer
Write only register.
If no transmission is in progress and this register is written to, subject to the setup time requirement, the data from this regis-
ter (DR1) is loaded into the Shift register (DR0) on the following clock edge and a transmission is initiated. If a transmission
is currently in progress, this register serves as a buffer for TX data.
This register should only be written to when TX Reg Empty status is set and this write clears the TX Reg Empty status bit in
the Control (CR0) register. When the data is transferred from this register (DR1) to the Shift register (DR0), then TX Reg
Empty status is set.
DR2
NA
Not used in this function.
Содержание 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 ...