![Texas Instruments TMS470R1x Скачать руководство пользователя страница 53](http://html.mh-extra.com/html/texas-instruments/tms470r1x/tms470r1x_reference-manual_1097091053.webp)
Control Registers and RAM
Multi-Buffer Serial Peripheral Interface (MibSPI) (SPNU217B)
45
Bit 3
OVRNINTEN.
Overrun interrupt enable.
An interrupt is to be generated when the RCVR OVRN flag bit (SPICTRL3.2)
is set by hardware. Otherwise, no interrupt will be generated.
0 =
Overrun interrupt will not be generated
1 =
Overrun interrupt will be generated
Bit 2
RCVROVRN.
Receiver overrun flag.
This bit is a read/clear only flag. The MibSPI hardware sets this bit when an
operation completes before the previous character has been read from the
buffer. The bit indicates that the last received character has been overwritten
and therefore lost. The MibSPI will generate an interrupt request if this bit is
set and the OVRN INTEN bit (SPICTRL3.3) is set high.
This bit is cleared in one of four ways:
❏
Reading the SPIBUF register
❏
Writing a 1 to this bit
❏
Writing a 0 to SPIEN (SPICTRL2.4)
❏
System reset
0 =
Overrun condition did not occur
1 =
Overrun condition has occurred
Bit 1
RXINTEN.
An interrupt is to be generated when the RXINTFLAG bit (SPICTRL3.0) is set
by hardware. Otherwise, no interrupt will be generated.
0 =
Interrupt will not be generated
1 =
Interrupt will be generated
Bit 0
RXINTFLAG.
Serves as the MibSPI interrupt flag.
This flag is set when a word is received and copied into the buffer register
(SPIBUF). If RXINTEN is enabled, an interrupt is also generated. During
emulation mode, however, a read to the emulation register (SPIEMU) does
not clear this flag bit. This bit is cleared in one of four ways:
❏
Reading the SPIBUF register
❏
Writing a 1 to this bit
❏
Writing a 0 to SPIEN (SPICTRL2.4)
❏
System reset
0 =
Interrupt condition did not occur
1 =
Interrupt condition did occur
Содержание TMS470R1x
Страница 2: ...2 ...