參數(shù)資料
型號: PIC12F683T-E/MF
廠商: Microchip Technology
文件頁數(shù): 105/176頁
文件大?。?/td> 0K
描述: IC MCU FLASH 2KX14 8DFN
Digi-Key 應(yīng)用說明: AN0005 PWM Example with Microchip's CCP Module
AN0005 Example Code
標(biāo)準(zhǔn)包裝: 3,300
系列: PIC® 12F
核心處理器: PIC
芯體尺寸: 8-位
速度: 20MHz
外圍設(shè)備: 欠壓檢測/復(fù)位,POR,PWM,WDT
輸入/輸出數(shù): 5
程序存儲器容量: 3.5KB(2K x 14)
程序存儲器類型: 閃存
EEPROM 大?。?/td> 256 x 8
RAM 容量: 128 x 8
電壓 - 電源 (Vcc/Vdd): 2 V ~ 5.5 V
數(shù)據(jù)轉(zhuǎn)換器: A/D 4x10b
振蕩器型: 內(nèi)部
工作溫度: -40°C ~ 125°C
封裝/外殼: 8-VDFN 裸露焊盤
包裝: 帶卷 (TR)
配用: AC164324-ND - MODULE SKT FOR MPLAB 8DFN/16QFN
XLT08DFN2-ND - SOCKET TRANSITION ICE 14DIP/8DFN
AC162058-ND - HEADER MPLAB ICD2 FOR PIC12F683
I3-DB12F683-ND - BOARD DAUGHTER ICEPIC3
XLT08DFN-ND - SOCKET TRANSITION ICE 8DFN
AC164032-ND - ADAPTER PICSTART PLUS 8DFN/DIP
AC124001-ND - MODULE SKT PROMATEII 8DIP/SOIC
PIC12F683
DS41211D-page 32
2007 Microchip Technology Inc.
4.2
Additional Pin Functions
Every
GPIO
pin
on
the
PIC12F683
has
an
interrupt-on-change option and a weak pull-up option.
GP0 has an Ultra Low-Power Wake-up option. The
next three sections describe these functions.
4.2.1
ANSEL REGISTER
The ANSEL register is used to configure the Input
mode of an I/O pin to analog. Setting the appropriate
ANSEL bit high will cause all digital reads on the pin to
be read as ‘0’ and allow analog functions on the pin to
operate correctly.
The state of the ANSEL bits has no affect on digital
output functions. A pin with TRIS clear and ANSEL set
will still operate as a digital output, but the Input mode
will be analog. This can cause unexpected behavior
when executing read-modify-write instructions on the
affected port.
4.2.2
WEAK PULL-UPS
Each of the GPIO pins, except GP3, has an individually
configurable internal weak pull-up. Control bits WPUx
enable or disable each pull-up. Refer to Register 4-4.
Each weak pull-up is automatically turned off when the
port pin is configured as an output. The pull-ups are
disabled on a Power-on Reset by the GPPU bit of the
OPTION register). A weak pull-up is automatically
enabled for GP3 when configured as MCLR and
disabled when GP3 is an I/O. There is no software
control of the MCLR pull-up.
4.2.3
INTERRUPT-ON-CHANGE
Each of the GPIO pins is individually configurable as an
interrupt-on-change pin. Control bits IOCx enable or
disable the interrupt function for each pin. Refer to
Register 4-5. The interrupt-on-change is disabled on a
Power-on Reset.
For enabled interrupt-on-change pins, the values are
compared with the old value latched on the last read of
GPIO. The ‘mismatch’ outputs of the last read are OR’d
together to set the GPIO Change Interrupt Flag bit
(GPIF) in the INTCON register (Register 3-3).
This interrupt can wake the device from Sleep. The
user, in the Interrupt Service Routine, clears the
interrupt by:
a)
Any read or write of GPIO. This will end the
mismatch condition, then,
b)
Clear the flag bit GPIF.
A mismatch condition will continue to set flag bit GPIF.
Reading GPIO will end the mismatch condition and
allow flag bit GPIF to be cleared. The latch holding the
last read value is not affected by a MCLR nor
Brown-out Reset. After these resets, the GPIF flag will
continue to be set if a mismatch is present.
REGISTER 4-2:
TRISIO GPIO TRI-STATE REGISTER
U-0
R/W-1
R-1
R/W-1
—TRISIO5(2,3)
TRISIO4(2)
TRISIO3(1)
TRISIO2
TRISIO1
TRISIO0
bit 7
bit 0
Legend:
R = Readable bit
W = Writable bit
U = Unimplemented bit, read as ‘0’
-n = Value at POR
‘1’ = Bit is set
‘0’ = Bit is cleared
x = Bit is unknown
bit 7-6
Unimplemented: Read as ‘0’
bit 5:4
TRISIO<5:4>: GPIO Tri-State Control bit
1
= GPIO pin configured as an input (tri-stated)
0
= GPIO pin configured as an output
bit 3
TRISIO<3>: GPIO Tri-State Control bit
Input only
bit 2:0
TRISIO<2:0>: GPIO Tri-State Control bit
1
= GPIO pin configured as an input (tri-stated)
0
= GPIO pin configured as an output
Note
1:
TRISIO<3> always reads ‘1’.
2:
TRISIO<5:4> always reads ‘1’ in XT, HS and LP OSC modes.
3:
TRISIO<5> always reads ‘1’ in RC and RCIO and EC modes.
Note:
If a change on the I/O pin should occur
when
any
GPIO
operation
is
being
executed, then the GPIF interrupt flag may
not get set.
相關(guān)PDF資料
PDF描述
PIC12HV752-E/P IC MCU 8BIT 1024B FLASH 8-PDIP
PIC12LF1501-E/MC IC MCU 8BIT 1.75KB FLASH 8DFN
PIC12LF1501-I/MF IC MCU 8BIT 1.75KB FLASH 8-DFN
PIC14000-04I/SO IC MCU OTP 4KX14 A/D 28SOIC
PIC16C432T-I/SS IC MCU CMOS 8BIT 20MHZ 2K 20SSOP
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
PIC12F683T-I/MD 功能描述:8位微控制器 -MCU 3.5KB 128 RAM 6I/O RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
PIC12F683T-I/MDQTP 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:8-Pin Flash-Based, 8-Bit CMOS Microcontrollers with nanoWatt Technology
PIC12F683T-I/MF 功能描述:8位微控制器 -MCU 3.5KB 128 RAM 6 I/O RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
PIC12F683T-I/MFQTP 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:8-Pin Flash-Based, 8-Bit CMOS Microcontrollers with nanoWatt Technology
PIC12F683T-I/P 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:8-Pin Flash-Based, 8-Bit CMOS Microcontrollers with nanoWatt Technology