參數(shù)資料
型號: EM6617VVVST11A
元件分類: 微控制器/微處理器
英文描述: 4-BIT, MROM, 0.032768 MHz, RISC MICROCONTROLLER
封裝: STICKY TAPE
文件頁數(shù): 23/66頁
文件大?。?/td> 759K
代理商: EM6617VVVST11A
EM6617-1
EM Microlectronic-Marin SA , 3/99 Rev. B/258
23
8. 10-bit Counter
The EM6617-1 has a built-in universal cyclic counter. It can be configured as 10, 8, 6 or 4-bit counter. If 10-bits
are selected we call that full bit counting, if 8, 6 or 4-bits are selected we call that limited bit counting.
The counter works in up- or down count mode. Eight clocks can be used as the input clock source, six of them
are derived prescaler frequencies and two are coming from the input pads PA[0] and PA[3]. In this case the
counter can be used as an event counter.
The counter generates an interrupt request
IRQCount0
every time it reaches 0 in down count mode or 3FF in
up count mode. Another interrupt request
IRQCntComp
is generated in compare mode whenever the counter
value matches the compare data register value. Each of this interrupt requests can be masked (default). See
section 13 for more information about the interrupt handling.
A 10-bit data register
CReg[9:0]
is used to initialize the counter at a specific value (load into
Count[9:0]
). This
data register (
CReg[9:0]
) is also used to compare its value against
Count[9:0]
for equivalence.
A Pulse-Width-Modulation signal (PWM) can be generated and output on port B terminal PB[3].
8.1 Full and Limited Bit Counting
In Full Bit Counting mode the counter uses its maximum
of 10-bits length (default ). With the
BitSel[1,0]
bits in
register
RegCDataH
one can lower the counter length,
for IRQ generation, to 8, 6 or 4 bits. This means that
actually the counter always uses all the 10-bits, but
IRQCount0 generation is only performed on the number
of selected bits. The unused counter bits may or may not be taken into account for the
IRQComp
generation
depending on bit
SelIntFull
.
Refer to chapter 8.4.
Figure 17. 10-bit Counter Block Diagram
En
Comparator
ck
Up/Down
Up/Down Counter
En
EvCount
Counter Read Register
RegCDataL, M, H
(Count[9:0])
RegCDataL, M, H (CReg[9:0])
Data Register
Load
IRQCntComp
PWM
IRQCount0
DB[3:0]
PA[0]
Ck[15]
Ck[12]
Ck[10]
Ck[8]
Ck[4]
Ck[1]
PA[3]
ck
MUX
RegCCntl1, 2
CountFSel2...0
Up/Down
Start
EvCount
Load
EnComp
Table 7.7.1. Counter length selection
BitSel[1]
0
0
1
1
BitSel[0 ]
0
1
0
1
counter length
10-Bit
8-Bit
6-Bit
4-Bit
相關PDF資料
PDF描述
EMCL12M2H-187.5103MTR CRYSTAL OSCILLATOR, CLOCK, 187.5103 MHz, LVPECL OUTPUT
EMDS22N2J-156.250M CRYSTAL OSCILLATOR, CLOCK, 156.25 MHz, LVDS OUTPUT
EMDS23C2H-10.000M CRYSTAL OSCILLATOR, CLOCK, 10 MHz, LVDS OUTPUT
EMDS23E2H-77.760MTR CRYSTAL OSCILLATOR, CLOCK, 77.76 MHz, LVDS OUTPUT
EMIF4-100FCD4 EMI FILTER/TVS ARRAY
相關代理商/技術參數(shù)
參數(shù)描述
EM6617WP11 制造商:EMMICRO 制造商全稱:EM Microelectronic - MARIN SA 功能描述:Ultra Low Power Microcontroller with ADC AND EEPROM
EM6617WP27 制造商:EMMICRO 制造商全稱:EM Microelectronic - MARIN SA 功能描述:Ultra Low Power Microcontroller with ADC AND EEPROM
EM6617WS11 制造商:EMMICRO 制造商全稱:EM Microelectronic - MARIN SA 功能描述:Ultra Low Power Microcontroller with ADC AND EEPROM
EM6617WS27 制造商:EMMICRO 制造商全稱:EM Microelectronic - MARIN SA 功能描述:Ultra Low Power Microcontroller with ADC AND EEPROM
EM6617WW11 制造商:EMMICRO 制造商全稱:EM Microelectronic - MARIN SA 功能描述:Ultra Low Power Microcontroller with ADC AND EEPROM