參數資料
型號: PIC16C505-20E/SL
廠商: Microchip Technology
文件頁數: 19/90頁
文件大?。?/td> 0K
描述: IC MCU OTP 1KX12 14SOIC
產品培訓模塊: Asynchronous Stimulus
標準包裝: 57
系列: PIC® 16C
核心處理器: PIC
芯體尺寸: 8-位
速度: 20MHz
外圍設備: POR,WDT
輸入/輸出數: 11
程序存儲器容量: 1.5KB(1K x 12)
程序存儲器類型: OTP
RAM 容量: 72 x 8
電壓 - 電源 (Vcc/Vdd): 3 V ~ 5.5 V
振蕩器型: 內部
工作溫度: -40°C ~ 125°C
封裝/外殼: 14-SOIC(0.154",3.90mm 寬)
包裝: 管件
配用: 309-1086-ND - ADAPTER 14-ZIF BD W/14-SO PLUGS
309-1085-ND - ADAPTER 14-DIP BD W/2 14-SO PLUG
309-1001-ND - ADAPTER 14-SOIC TO 14-DIP
309-1000-ND - ADAPTER 14-SOIC TO 14-DIP
PIC16C505
DS40192D-page 26
1999-2012 Microchip Technology Inc.
6.2
Prescaler
An 8-bit counter is available as a prescaler for the
Timer0 module or as a postscaler for the Watchdog
Timer (WDT), respectively (Section 7.6). For simplicity,
this counter is being referred to as “prescaler”
throughout this data sheet. Note that the prescaler
may be used by either the Timer0 module or the WDT,
but not both. Thus, a prescaler assignment for the
Timer0 module means that there is no prescaler for
the WDT, and vice-versa.
The PSA and PS<2:0> bits (OPTION<3:0>) determine
prescaler assignment and prescale ratio.
When assigned to the Timer0 module, all instructions
writing
to
the
TMR0
register
(e.g.,
CLRF 1,
MOVWF 1,
BSF 1,x,
etc.) will clear the prescaler.
When assigned to WDT, a CLRWDT instruction will
clear the prescaler along with the WDT. The prescaler
is neither readable nor writable. On a RESET, the
prescaler contains all '0's.
6.2.1
SWITCHING PRESCALER ASSIGNMENT
The prescaler assignment is fully under software
control (i.e., it can be changed “on-the-fly” during
program execution). To avoid an unintended device
RESET,
the
following
instruction
sequence
(Example 6-1) must be executed when changing the
prescaler assignment from Timer0 to the WDT.
EXAMPLE 6-1:
CHANGING PRESCALER
(TIMER0
WDT)
1.CLRWDT
;Clear WDT
2.CLRF
TMR0
;Clear TMR0 & Prescaler
3.MOVLW
'00xx1111’b ;These 3 lines (5, 6, 7)
4.OPTION
; are required only if
; desired
5.CLRWDT
;PS<2:0> are 000 or 001
6.MOVLW
'00xx1xxx’b ;Set Postscaler to
7.OPTION
; desired WDT rate
To change prescaler from the WDT to the Timer0
module, use the sequence shown in Example 6-2.
This sequence must be used even if the WDT is
disabled. A CLRWDT instruction should be executed
before switching the prescaler.
EXAMPLE 6-2:
CHANGING PRESCALER
(WDT
TIMER0)
CLRWDT
;Clear WDT and
;prescaler
MOVLW
'xxxx0xxx'
;Select TMR0, new
;prescale value and
;clock source
OPTION
FIGURE 6-5:
BLOCK DIAGRAM OF THE TIMER0/WDT PRESCALER
TCY ( = Fosc/4)
Sync
2
Cycles
TMR0 reg
8-bit Prescaler
8 - to - 1MUX
M
MUX
Watchdog
Timer
PSA
0
1
0
1
WDT
Time-Out
PS<2:0>
8
Note: T0CS, T0SE, PSA, PS<2:0> are bits in the OPTION register.
PSA
WDT Enable bit
0
1
0
1
Data Bus
8
PSA
T0CS
M
U
X
M
U
X
U
X
T0SE
RC5/T0CKI
Pin
相關PDF資料
PDF描述
VE-23H-CV-S CONVERTER MOD DC/DC 52V 150W
PIC16C505-20E/P IC MCU OTP 1KX12 14DIP
PIC12LCE518-04I/SN IC MCU OTP 512X12 LV W/EE 8SOIC
VE-23F-CV-S CONVERTER MOD DC/DC 72V 150W
VE-23D-CV-S CONVERTER MOD DC/DC 85V 150W
相關代理商/技術參數
參數描述
PIC16C505-20I/P 功能描述:8位微控制器 -MCU 1.5KB 72 RAM 12 I/O 20MHz IndTemp PDIP14 RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數據總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數據 RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風格:SMD/SMT
PIC16C505-20I/P 制造商:Microchip Technology Inc 功能描述:IC 8BIT CMOS MCU 16C505 DIP14
PIC16C505-20I/SL 功能描述:8位微控制器 -MCU 1.5KB 72 RAM 12 I/O 20MHz IndTemp SOIC14 RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數據總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數據 RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風格:SMD/SMT
PIC16C505-20I/SL 制造商:Microchip Technology Inc 功能描述:8BIT CMOS MCU SMD 16C505 SOIC14
PIC16C505T-04/SL 功能描述:8位微控制器 -MCU 1.5KB 72 RAM 12 I/O 4MHz SOIC14 RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數據總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數據 RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風格:SMD/SMT