RM0082
LS_Synchronous serial peripheral (SSP)
Doc ID 018672 Rev 1
281/844
13.6.9 SSPIMSC
register
The SSPIMSC register is the interrupt mask set or clear register. It is a read/write register.
On a read this register gives the current value of the mask on the relevant interrupt. A write
of 1 to the particular bit sets the mask, enabling the interrupt to be read. A write of 0 clears
the corresponding mask. All the bits are cleared to 0 when reset. The SSPIMSC bit
assignments are given in
.
13.6.10 SSPRIS
register
The SSPRIS register is the raw interrupt status register. It is a read-only register. On a read
this register gives the current raw status value of the corresponding interrupt prior to
masking. A write has no effect. The SSPRIS bit assignments are given in
.
Table 217.
SSPCPSR register bit assignments
Bit
Name
Type
Description
[15:08] -
-
Reserved, read unpredictable, must be written as 0.
[07:00] CPSDVSR
R/W
Clock prescale divisor. Must be an even number from 2 to 254,
depending on the frequency of SSPCLK. The least significant bit
always returns zero on reads.
Table 218.
SSPIMSC register bit assignments
Bit
Name
Type
Description
[15:04]
-
-
Reserved, read as 0, do not modify.
[03]
TXIM
R/W
Transmit FIFO interrupt mask:
1’b0 = Tx FIFO half empty or less condition interrupt is masked.
1’b1 = Tx FIFO half empty or less condition interrupt is not masked
[02]
RXIM
R/W
Receive FIFO interrupt mask:
1’b0 = Rx FIFO half full or less condition interrupt is masked
1’b1 = Rx FIFO half full or less condition interrupt is not masked.
[01]
RTIM
R/W
Receive timeout interrupt mask:
1’b0 = Rx FIFO not empty and no read prior to timeout period interrupt is
masked
1’b1= Rx FIFO not empty and no read prior to timeout period interrupt is
not masked.
[00]
RORI
M
R/W
Receive overrun interrupt mask:
1’b0 = Rx FIFO written to while full condition interrupt is masked
1’b1= Rx FIFO written to while full condition interrupt is not masked.
Table 219.
SSPRIS register bit assignments
Bit
Name
Type
Description
[15:04] -
-
Reserved, read as 0, do not modify.
[03]
TXRIS
RO
Gives the raw interrupt state (prior to masking) of the SSPTXINTR
interrupt