參數(shù)資料
型號: C517A
廠商: SIEMENS AG
元件分類: 8位微控制器
英文描述: 8-Bit CMOS Microcontroller
中文描述: 8位CMOS微控制器
文件頁數(shù): 36/72頁
文件大?。?/td> 845K
代理商: C517A
C517A
Semiconductor Group
34
Compare Modes
The compare function of a timer/register combination operates as follows : the 16-bit value stored
in a compare or compare/capture register is compared with the contents of the timer register; if the
count value in the timer register matches the stored value, an appropriate output signal is generated
at a corresponding port pin and an interrupt can be generated.
Compare Mode 0
In compare mode 0, upon matching the timer and compare register contents, the output signal
changes from low to high. lt goes back to a low level on timer overflow. As long as compare mode
0 is enabled, the appropriate output pin is controlled by the timer circuit only and writing to the port
will have no effect.
Figure 14
shows a functional diagram of a port circuit when used in compare
mode 0. The port latch is directly controlled by the timer overflow and compare match signals. The
input line from the internal bus and the write-to-latch line of the port latch are disconnected when
compare mode 0 is enabled.
Figure 14
Port Latch in Compare Mode 0
Compare Mode 1
If compare mode 1 is enabled and the software writes to the appropriate output latch at the port, the
new value will not appear at the output pin until the next compare match occurs. Thus, it can be
choosen whether the output signal has to make a new transition (1-to-0 or 0-to-1, depending on the
actual pin-level) or should keep its old value at the time when the timer value matches the stored
compare value.
In compare mode 1 (see
figure 15
) the port circuit consists of two separate latches. One latch
(which acts as a "shadow latch") can be written under software control, but its value will only be
transferred to the port latch (and thus to the port pin) when a compare match occurs.
MCS02661
Latch
Port
Q
Q
CLK
R
D
Port
Pin
Read Pin
CC
V
Read Latch
Port Circuit
Internal
Bus
Write to
Latch
Compare Reg.
Compare Register
Circuit
Comparator
Timer Register
Timer Circuit
Compare
Match
S
Overflow
Timer
16 Bit
Bit
16
V
DD
相關(guān)PDF資料
PDF描述
C5259F505SV050100A1 5x7 ceramic oscillator
C5259 5x7 ceramic oscillator
C5259C104SV033100A1 5x7 ceramic oscillator
C5259C104SV033200A1 5x7 ceramic oscillator
C5259C104SV03350A1 5x7 ceramic oscillator
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
C517A_99 制造商:INFINEON 制造商全稱:Infineon Technologies AG 功能描述:8-Bit CMOS Microcontroller
C517S-3A 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Fuse
C518 制造商:COOPER 制造商全稱:Cooper Bussmann, Inc. 功能描述:PCB & Small Dimension Fuses
C518-.1 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Fuse
C518-.125 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Fuse