Visible to Intel only — GUID: iga1405558410007
Ixiasoft
Visible to Intel only — GUID: iga1405558410007
Ixiasoft
5.4.3.4. control Register
The control register consists of data bits to control the SPI core's operation. A host peripheral can read control at any time without changing the value of any bits.
Most bits (IROE, ITOE, ITRDY, IRRDY, and IE) in the control register control interrupts for status conditions represented in the status register. For example, bit 1 of status is ROE (receiver-overrun error), and bit 1 of control is IROE, which enables interrupts for the ROE condition. The SPI core asserts an interrupt request when the corresponding bits in status and control are both 1.
# | Name | Description |
---|---|---|
3 | IROE | Setting IROE to 1 enables interrupts for receive-overrun errors. |
4 | ITOE | Setting ITOE to 1 enables interrupts for transmitter-overrun errors. |
6 | ITRDY | Setting ITRDY to 1 enables interrupts for the transmitter ready condition. |
7 | IRRDY | Setting IRRDY to 1 enables interrupts for the receiver ready condition. |
8 | IE | Setting IE to 1 enables interrupts for any error condition. |
9 | IEOP | Setting IEOP to 1 enables interrupts for the End of Packet condition. |
10 | SSO | Setting SSO to 1 forces the SPI core to drive its ss_n outputs, regardless of whether a serial shift operation is in progress or not. The slaveselect register controls which ss_n outputs are asserted. SSO can be used to transmit or receive data of arbitrary size, for example, greater than 32 bits. |
After reset, all bits of the control register are set to 0. All interrupts are disabled and no ss_n signals are asserted.