Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

ST7MC1 Datasheet(PDF) 237 Page - STMicroelectronics

Part # ST7MC1
Description  8-BIT MCU WITH NESTED INTERRUPTS, FLASH, 10-BIT ADC, BRUSHLESS MOTOR CONTROL, FIVE TIMERS, SPI, LINSCI
PDF  308 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

ST7MC1 Datasheet(HTML) 237 Page - STMicroelectronics

Back Button ST7MC1 Datasheet HTML 233Page - STMicroelectronics ST7MC1 Datasheet HTML 234Page - STMicroelectronics ST7MC1 Datasheet HTML 235Page - STMicroelectronics ST7MC1 Datasheet HTML 236Page - STMicroelectronics ST7MC1 Datasheet HTML 237Page - STMicroelectronics ST7MC1 Datasheet HTML 238Page - STMicroelectronics ST7MC1 Datasheet HTML 239Page - STMicroelectronics ST7MC1 Datasheet HTML 240Page - STMicroelectronics ST7MC1 Datasheet HTML 241Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 237 / 308 page
background image
ST7MC1/ST7MC2
237/308
10-BIT A/D CONVERTER (ADC) (Cont’d)
When a conversion is complete:
– The EOC bit is set by hardware
– An interrupt request is generated if the ADCIE
bit in the MCCBCR register is set (see section
6.4.7 on page 37).
– The result is in the ADCDR registers and re-
mains valid until the next conversion has end-
ed.
To read the 10 bits, perform the following steps:
1. Poll the EOC bit or wait for EOC interrupt
2. Read ADCDRLSB
3. Read ADCDRMSB
The EOC bit is reset by hardware once the AD-
CDRMSB is read.
To read only 8 bits, perform the following steps:
1. Poll the EOC bit or wait for EOC interrupt
2. Read ADCDRMSB
The EOC bit is reset by hardware once the AD-
CDRMSB is read.
Changing the conversion channel
The application can change channels during con-
version. In this case the current conversion is
stopped and the A/D converter starts converting
the newly selected channel.
ADCCR consistency
If an End Of Conversion event occurs after soft-
ware has read the ADCDRLSB but before it has
read the ADCDRMSB, there would be a risk that
the two values read would belong to different sam-
ples.
To guarantee consistency:
– The ADCDRMSB and the ADCDRLSB are
locked when the ADCCRLSB is read
– The ADCDRMSB and the ADCDRLSB are un-
locked when the MSB is read or when ADON
is reset.
Thus, it is mandatory to read the ADCDRMSB just
after reading the ADCDRLSB. Otherwise the AD-
CDR register will not be updated until the AD-
CDRMSB is read.
10.8.4 Low Power Modes
Note: The A/D converter may be disabled by re-
setting the ADON bit. This feature allows reduced
power consumption when no conversion is need-
ed.
10.8.5 Interrupts
1)The ADCIE bit is in the MCCBCR register (see
section 6.4.7 on page 37)
Mode
Description
WAIT
No effect on A/D Converter
HALT
A/D Converter disabled.
After wake up from Halt mode, the A/D
Converter requires a stabilization time
tSTAB (see Electrical Characteristics)
before accurate conversions can be
performed.
Interrupt
Event
Event
Flag
Enable
Control
Bit
Exit
from
Wait
Exit
from
Halt
End of Conver-
sion
EOC
ADCIE1)
Yes
No



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com