st7pmc2s6 STMicroelectronics, st7pmc2s6 Datasheet - Page 300

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
On-chip peripherals
10.8.4
Note:
10.8.5
10.8.6
300/371
Thus, it is mandatory to read the ADCDRMSB just after reading the ADCDRLSB. Otherwise
the ADCDR register is not updated until the ADCDRMSB is read.
Low power modes
The A/D converter may be disabled by resetting the ADON bit. This feature allows reduced
power consumption when no conversion is needed.
Table 171. Effect of low power modes on A/D converter
Interrupts
Table 172. A/D converter interrupt control/wake-up capability
1. The ADCIE bit is in the MCCBCR register (see
Register description
Control/status register (ADCCSR)
Table 173. ADCCSR register description
ADCCSR
6:5 PRSC[1:0]
Bit
7
End of Conversion
page
EOC
Interrupt event
RO
7
Mode
Name
Wait
Halt
EOC
56)
End of conversion
ADC clock prescaler selection
6
ST7MC1K2-Auto, ST7MC1K6-Auto, ST7MC2S4-Auto, ST7MC2S6-Auto
This bit is set by hardware. It is cleared by software reading the ADCDRMSB
register.
0: Conversion is not complete
1: Conversion complete
These bits are set and cleared by software:
00: f
01:f
10: f
PRSC[1:0]
No effect on A/D converter
A/D converter disabled.
After wake up from Halt mode, the A/D converter requires a stabilization time
t
can be performed.
STAB
R/W
ADC
ADC
ADC
(seeSection 12: Electrical
Event flag
= 2MHz
= 4MHz
= 1MHz
EOC
5
ADON
R/W
4
Enable control
Section 6.6.7: MCC control status register (MCCSR) on
ADCIE
bit
characteristics) before accurate conversions
Function
Description
(1)
3
Exit from Wait
2
Yes
Reset value: 0000 0000 (00h)
CS[3:0]
R/W
1
Exit from Halt
No
0

Related parts for st7pmc2s6