st7pmc2s6 STMicroelectronics, st7pmc2s6 Datasheet - Page 151

no-image

st7pmc2s6

Manufacturer Part Number
st7pmc2s6
Description
8-bit Mcu For Automotive With Nested Interrupts, Flash, 10-bit Adc, Brushless Motor Control, 5 Timers, Spi, Linsci?
Manufacturer
STMicroelectronics
Datasheet
ST7MC1K2-Auto, ST7MC1K6-Auto, ST7MC2S4-Auto, ST7MC2S6-Auto
10.5.6
10.5.7
Even parity
The parity bit is calculated to obtain an even number of ‘1s’ inside the character made of the
7 or 8 LSB bits (depending on whether M is equal to 0 or 1) and the parity bit.
Example: data = 00110101; 4 bits set
Odd parity
The parity bit is calculated to obtain an odd number of ‘1s’ inside the character made of the
7 or 8 LSB bits (depending on whether M is equal to 0 or 1) and the parity bit.
Example: data = 00110101; 4 bits set
Transmission mode
If the PCE bit is set then the MSB bit of the data written in the data register is not transmitted
but is changed by the parity bit.
Reception mode
If the PCE bit is set, the interface checks if the received data byte has an even number of
‘1s’ if even parity is selected (PS = 0) or an odd number of ‘1s’ if odd parity is selected
(PS = 1). If the parity check fails, the PE flag is set in the SCISR register and an interrupt is
generated if PCIE is set in the SCICR1 register.
Low power modes
Table 60.
Interrupts
Table 61.
The SCI interrupt events are connected to the same interrupt vector (see
Interrupts).
Transmit data register empty
Transmission complete
Received data ready to be read
Overrun error or LIN synch error detected
Idle line detected
Parity error
LIN header detection
Mode
Wait
Halt
Interrupt event
Effect of low power modes on SCI
SCI interrupt control/wake-up capability
No effect on SCI.
SCI interrupts cause the device to exit from Wait mode.
SCI registers are frozen.
In Halt mode, the SCI stops transmitting/receiving until Halt mode is exited.
parity bit is 1 if odd parity is selected (PS bit = 1).
parity bit is 0 if even parity is selected (PS bit = 0).
OR/LHE
RDRF
Event
TDRE
LHDF
IDLE
flag
TC
PE
Description
control bit
Enable
TCIE
LHIE
ILIE
RIE
TIE
PIE
Exit from
WAIT
On-chip peripherals
Yes
Section 7:
Exit from
HALT
No
151/371

Related parts for st7pmc2s6