Moteur de recherche de fiches techniques de composants électroniques
  French  ▼
ALLDATASHEET.FR

X  

EM6620WS27 Fiches technique(PDF) 28 Page - EM Microelectronic - MARIN SA

No de pièce EM6620WS27
Description  Ultra Low Power Microcontroller with 4x8 LCD Driver
PDF  56 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricant  EMMICRO [EM Microelectronic - MARIN SA]
Site Internet  http://www.emmicroelectronic.com
Logo EMMICRO - EM Microelectronic - MARIN SA

EM6620WS27 Fiches technique(HTML) 28 Page - EM Microelectronic - MARIN SA

Back Button EM6620WS27 Datasheet HTML 24Page - EM Microelectronic - MARIN SA EM6620WS27 Datasheet HTML 25Page - EM Microelectronic - MARIN SA EM6620WS27 Datasheet HTML 26Page - EM Microelectronic - MARIN SA EM6620WS27 Datasheet HTML 27Page - EM Microelectronic - MARIN SA EM6620WS27 Datasheet HTML 28Page - EM Microelectronic - MARIN SA EM6620WS27 Datasheet HTML 29Page - EM Microelectronic - MARIN SA EM6620WS27 Datasheet HTML 30Page - EM Microelectronic - MARIN SA EM6620WS27 Datasheet HTML 31Page - EM Microelectronic - MARIN SA EM6620WS27 Datasheet HTML 32Page - EM Microelectronic - MARIN SA Next Button
Zoom Inzoom in Zoom Outzoom out
 28 / 56 page
background image
R
EM6620
Copyright
© 2005, EM Microelectronic-Marin SA
28
www.emmicroelectronic.com
8.3 MSC-Modes
The millisecond counter can have many different modes of operation. The most common are :
- CPU controlled start and stop.
- CPU controlled start and PA[3] controlled stop.
- Port A terminal PA[3] controlled start and stop mode.
- Pulse width measurement of port A terminal PA[3] input signals.
All these different modes are controlled with the bits in the registers RegMSCCntl1 and RegMSCCntl2.
The main bits are :
- dT/MSC ;
Pulse-width or start stop measure. This bit only has a action if PA[3] input is chosen. If pulse-
width measure is selected, the counter starts with the first active edge on PA[3] and stops with
the next inverse edge (sets RunEn = 0). If MSC measure selected, the counter starts with the
first active PA[3] edge, stops on the next, restarts on the following etc. It does not reset
RunEn.
- PA3/µP ;
Direct port A terminal PA[3] or CPU (µP) controlled start and stop function. If direct PA[3]
controlled start stop mode is chosen the counter, once enabled by setting RunEn/Stop = 1,
starts counting on the first active edge seen on PA[3]. It stops counting depending on the
dT/MSC bit either on the next inverse edge or on the next active edge. If µP is chosen, the
counter starts and stops depending on bit RunEn/Stop.
- RunEn/Stop; In CPU mode this bit starts or stops the counter. In PA3 mode it enables the counter which will
start with the next event on port A terminal PA[3]. If dT and PA3 mode, the RunEn gets reset
with the second active PA[3] edge.
- PA3Edge ;
This bit selects the active PA[3] edge which will trigger the dT/MSC selected measurement
mode. It has no effect if PA3/µP=0. Default 0 is negative edge.
8.4 Mode selection
Before using, the MSC counter needs to be reset by setting bit ResMSC to ‘1’. This bit is automatically reset
thereafter. Then select the IRQ frequency and the counting mode. Now the RunEn can be set to ‘1’ . To display
the counter value during run you may only want to read the MSB (1/10 sec) digit ,driven by IRQ or with polling,
and fully read the MSC value only once the counter is stopped. The counter data registers are read only. Any
Reset (system reset, POR, watchdog) is setting the MSC into stop mode and clears the counter registers.
• CPU controlled Start and Stop
As soon as the CPU writes the start bit RunEn/Stop=1 the counter starts up counting until the CPU clears the
start bit. The bit PA3/uP is ‘0’ for this mode.
Figure 19. CPU controlled Start Stop
Counting
Stop
Start
Counter
RunEn/Stop
CPU write



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


Fiches technique Télécharger

Go To PDF Page


Lien URL



ALLDATASHEET vous a-t-il été utile ?  [ DONATE ] 

À propos de Alldatasheet   |   Publicité   |   Contactez-nous   |   Politique de confidentialité   |   Lien vers la fiche technique    |   Echange de liens   |   Fabricants
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