參數(shù)資料
型號(hào): EM6821TQ52B
英文描述: Advanced Synchronous Rectified Buck MOSFET Drivers with Pre-POR OVP; Temperature Range: 0&degC to 70°C; Package: 8-EPSOIC
中文描述: 微控制器
文件頁數(shù): 32/69頁
文件大?。?/td> 852K
代理商: EM6821TQ52B
EM6821
10/01, Revision A/386
Copyright
2001, EM Microelectronic-Marin SA
38
www.emmicroelectronic.com
9.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.
9.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 28. CPU controlled Start Stop
Counting
Stop
Start
Counter
RunEn/Stop
CPU write
相關(guān)PDF資料
PDF描述
EM6821TQ52D Advanced Synchronous Rectified Buck MOSFET Drivers with Pre-POR OVP; Temperature Range: -40°C to 85°C; Package: 8-SOIC
EM73MA89B Advanced Synchronous Rectified Buck MOSFET Drivers with Pre-POR OVP; Temperature Range: -40°C to 85°C; Package: 8-EPSOIC T&R
EM78156E Dual Advanced Synchronous Rectified Buck MOSFET Drivers with Pre-POR OVP; Temperature Range: 0&degC to 70°C; Package: 14-SOIC
EM78458 Dual Advanced Synchronous Rectified Buck MOSFET Drivers with Pre-POR OVP; Temperature Range: 0&degC to 70°C; Package: 16-QFN
EM78459 Dual Advanced Synchronous Rectified Buck MOSFET Drivers with Pre-POR OVP; Temperature Range: -40°C to 85°C; Package: 14-SOIC
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
EM685 制造商:Distributed By MCM 功能描述:UTILITY MOTOR
EM68C16CWVB-25H 制造商:Etron 功能描述:DDRII SDRAM,1Gb,64M*16,Pb & Halogen free
EM6A8160TSA 制造商:ETRON 制造商全稱:ETRON 功能描述:4M x 16 DDR Synchronous DRAM (SDRAM)
EM6A8160TSA-5G 制造商:ETRON 制造商全稱:ETRON 功能描述:4M x 16 DDR Synchronous DRAM (SDRAM)
EM6A9160 制造商:ETRON 制造商全稱:ETRON 功能描述:8M x 16 DDR Synchronous DRAM (SDRAM)