参数资料
型号: PIC12C508A-04E/SN
厂商: Microchip Technology
文件页数: 35/113页
文件大小: 0K
描述: IC MCU OTP 512X12 8SOIC
产品培训模块: Asynchronous Stimulus
8-bit PIC® Microcontroller Portfolio
标准包装: 100
系列: PIC® 12C
核心处理器: PIC
芯体尺寸: 8-位
速度: 4MHz
外围设备: POR,WDT
输入/输出数: 5
程序存储器容量: 768B(512 x 12)
程序存储器类型: OTP
RAM 容量: 25 x 8
电压 - 电源 (Vcc/Vdd): 3 V ~ 5.5 V
振荡器型: 内部
工作温度: -40°C ~ 125°C
封装/外壳: 8-SOIC(0.154",3.90mm 宽)
包装: 管件
配用: 309-1046-ND - ADAPTER 8-SOIC TO 8-DIP
309-1045-ND - ADAPTER 8-SOIC TO 8-DIP
AC124001-ND - MODULE SKT PROMATEII 8DIP/SOIC
PIC12C5XX
DS40139E-page 28
1999 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 8.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
PS2:PS0
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
PS2:PS0
8
Note: T0CS, T0SE, PSA, PS2:PS0 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
GP2/T0CKI
Pin
相关PDF资料
PDF描述
PIC16LF1906-E/SS MCU 14KB FLASH 512B RAM 28SSOP
PIC16F1824-E/ST IC MCU 8BIT 7KB FLASH 14TSSOP
PIC16LF1824-E/ST IC MCU 8BIT 7KB FLASH 14TSSOP
PIC16LF1513-E/SO IC MCU 8BIT 7KB FLASH 28-SOIC
PIC16F1513-E/SO IC MCU 8BIT 7KB FLASH 28-SOIC
相关代理商/技术参数
参数描述
PIC12C508A-04I 制造商:MICROCHIP 制造商全称:Microchip Technology 功能描述:PIC12C5XX Data Sheet Errata
PIC12C508A-04I/JW 制造商:未知厂家 制造商全称:未知厂家 功能描述:8-Bit Microcontroller
PIC12C508A-04I/MF 功能描述:8位微控制器 -MCU .75KB 25 RAM 6 I/O 4 MHz IndTemp DFN8 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
PIC12C508A-04I/P 功能描述:8位微控制器 -MCU .75KB 25 RAM 6 I/O 4 MHz IndTemp PDIP8 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
PIC12C508A-04I/P 制造商:Microchip Technology Inc 功能描述:IC 8BIT CMOS MCU 12C508 DIP8