Datasheet 搜索 > 8位微控制器 > Microchip(微芯) > PIC16F1769-E/P 数据手册 > PIC16F1769-E/P 用户编程技术手册 4/16 页


¥ 5.997
PIC16F1769-E/P 用户编程技术手册 - Microchip(微芯)
制造商:
Microchip(微芯)
分类:
8位微控制器
封装:
PDIP-20
描述:
8位微控制器 -MCU 8-Bit MCU 14KB Flash 1KB RAM 10bit DAC
Pictures:
3D模型
符号图
焊盘图
引脚图
产品图
页面导航:
原理图在P1
应用领域在P10
导航目录
PIC16F1769-E/P数据手册
Page:
of 16 Go
若手册格式错乱,请下载阅览PDF原文件

TB3140
DS90003140B-page 4 2016 Microchip Technology Inc.
PRG MODE SELECTION
The PRG can be operated in the following three voltage
ramp generator modes:
1. Falling Ramp Generator – Slope Compensation
2. Rising Ramp Generator
3. Alternating Rising/Falling Ramp Generator
These modes are selected by setting the
Programmable Ramp Generator Mode Selection bits
(MODE<1:0>) of PRGxCON0. Figure 4 shows the
PRG output for each mode that is controlled by internal
analog switches SW1, SW2 and SW3. SW1 discharges
the internal capacitor when the switch is closed, while
SW2 and SW3 connect the other side of the capacitor
to the programmable current source and current sink,
respectively. The switching of SW2 and SW3 dictate
the flow of charge in the internal capacitor. These
switches toggle depending on the configured mode.
In the Falling Ramp mode, SW2 is open, SW3 is closed
and SW1 toggles ON and OFF. Since SW3 is closed
while SW1 is open, the internal capacitor is charged by
a current sink. The voltage across the capacitor is sub-
tracted from the voltage input source and produces a
falling ramp output at the configured slope rate. The
Rising Ramp mode has the same operation with the
Falling Ramp mode except for the SW2 and SW3
switching states. In this mode, SW2 is closed and SW3
is open. When SW2 is closed while SW1 is open, the
internal capacitor is charged by the current source, pro-
ducing a rising ramp output. In the alternating Rising/
Falling Ramp mode, SW1 remains open and SW2 and
SW3 toggle alternately. This means that when SW2 is
closed, SW3 is open or vice versa. Since SW1 remains
open in this mode, the reference voltage has no effect
on the PRG output because there will be no discharge
state to take it to the reference voltage. The SW2 and
SW3 that toggles alternately will connect the internal
capacitor to either source or sink current to charge the
capacitor from one direction to another. This will
produce an alternating rising and falling ramp on the
PRG output.
器件 Datasheet 文档搜索
AiEMA 数据库涵盖高达 72,405,303 个元件的数据手册,每天更新 5,000 多个 PDF 文件