参数资料
型号: SAB-C515-LM
厂商: INFINEON TECHNOLOGIES AG
元件分类: 微控制器/微处理器
英文描述: 8-BIT, 16 MHz, MICROCONTROLLER, PQFP80
封装: PLASTIC, MQFP-80
文件页数: 139/162页
文件大小: 771K
代理商: SAB-C515-LM
Semiconductor Group
6-35
On-Chip Peripheral Components
C515
6.2.2.3.3 Compare Mode 1
In compare mode 1, the software adaptively determines the transition of the output signal. lt is
commonly used when output signals are not related to a constant signal perlod (as in a standard
PWM Generation) but must be controlled very precisely with high resolution and without jitter. In
compare mode 1, both transitions of a signal can be controlled. Compare outputs in this mode can
be regarded as high speed outputs which are independent of the CPU activity.
lf 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, one can
choose whether the output signal is to make a new transition (1-to-0 or 0-to-1, depending on the
actual pinlevel) or should keep its old value at the time the timer 2 count matches the stored
compare value.
Figure 6-19 and figure 6-20 show functional diagrams of the timer/compare register/port latch
configuration in compare mode 1. In this function, the port latch consists of two separate latches.
The upper latch (which acts as a “shadow latch“) can be written under software control, but its value
will only be transferred to the output latch (and thus to the port pin) in response to a compare match.
Note that the double latch structure is transparent as long as the internal compare signal is active.
While the compare signal is active, a write operation to the port will then change both latches. This
may become important when driving timer 2 with a slow external clock. In this case the compare
signal could be active for many machine cycles in which the CPU could unintentionally change the
contents of the port latch.
A read-modify-write instruction will read the user-controlled shadow latch“ and write the modified
value back to this “shadow-latch“. A standard read instruction will - as usual - read the pin of the
corresponding compare output.
相关PDF资料
PDF描述
SAB-C515C-LM 8-BIT, 10 MHz, MICROCONTROLLER, PQFP80
SAB-XC164CM-8F40F 16-BIT, FLASH, 40 MHz, MICROCONTROLLER, PQFP64
SAB-XC164CM-4F40F 16-BIT, FLASH, 40 MHz, MICROCONTROLLER, PQFP64
SAB-XC164CM-8F20F 16-BIT, FLASH, 20 MHz, MICROCONTROLLER, PQFP64
SAB-XC164KM-4F40F 16-BIT, FLASH, 40 MHz, MICROCONTROLLER, PQFP64
相关代理商/技术参数
参数描述
SAB-C517A 制造商:INFINEON 制造商全称:Infineon Technologies AG 功能描述:8-bit CMOS MICROCONTROLLER
SAB-C517A-4R24M 制造商:INFINEON 制造商全称:Infineon Technologies AG 功能描述:8-Bit CMOS Microcontroller
SAB-C517A-4RM 制造商:INFINEON 制造商全称:Infineon Technologies AG 功能描述:8-Bit CMOS Microcontroller
SAB-C517A-L24M 制造商:INFINEON 制造商全称:Infineon Technologies AG 功能描述:8-Bit CMOS Microcontroller
SAB-C517A-LM 制造商:INFINEON 制造商全称:Infineon Technologies AG 功能描述:8-Bit CMOS Microcontroller