參數(shù)資料
型號: PIC16C712T
廠商: Microchip Technology Inc.
英文描述: 8-Bit CMOS Microcontrollers with A/D Converter and Capture/Compare/PWM
中文描述: 8位CMOS微控制器與A / D轉(zhuǎn)換器和捕捉/比較/ PWM
文件頁數(shù): 23/108頁
文件大?。?/td> 1810K
代理商: PIC16C712T
PIC16C712/716
1999 Microchip Technology Inc.
Preliminary
DS41106A-page 23
3.2
PORTB and the TRISB Register
PORTB is an 8-bit wide bi-directional port. The corre-
sponding data direction register is TRISB. Setting a
TRISB bit (=1) will make the corresponding PORTB pin
an input, (i.e., put the corresponding output driver in a
hi-impedance mode). Clearing a TRISB bit (=0) will
make the corresponding PORTB pin an output, (i.e.,
put the contents of the output latch on the selected pin).
EXAMPLE 3-1:
BCF STATUS, RP0 ;
CLRF PORTB ; Initialize PORTB by
; clearing output
; data latches
BSF STATUS, RP0 ; Select Bank 1
MOVLW 0xCF ; Value used to
; initialize data
; direction
MOVWF TRISB ; Set RB<3:0> as inputs
; RB<5:4> as outputs
; RB<7:6> as inputs
INITIALIZING PORTB
Each of the PORTB pins has a weak internal pull-up. A
single control bit can turn on all the pull-ups. This is per-
formed by clearing bit RBPU (OPTION_REG<7>). The
weak pull-up is automatically turned off when the port
pin is configured as an output. The pull-ups are dis-
abled on a Power-on Reset.
FIGURE 3-3:
BLOCK DIAGRAM OF RB0 PIN
Data Latch
D
RBPU
(1)
P
V
DD
Q
CK
Q
D
CK
Q
D
EN
DATA BUS
WR PORT
WR TRIS
RD TRIS
RD PORT
weak
pull-up
RD PORT
RB0/INT
I/O
pin
TTL
Input
Buffer
Schmitt Trigger
Buffer
TRIS Latch
Note 1:
To enable weak pull-ups, set the appropriate TRIS bit(s) and clear the RBPU bit (OPTION_REG<7>).
V
SS
V
DD
相關(guān)PDF資料
PDF描述
PIC16C716T 8-Bit CMOS Microcontrollers with A/D Converter and Capture/Compare/PWM
PIC16LC712T 8-Bit CMOS Microcontrollers with A/D Converter and Capture/Compare/PWM
PIC16LC72 28-Pin 8-Bit CMOS Microcontrollers(28腳8位CMOS微控制器)
PIC16C70 8-Bit CMOS Microcontrollers with A/D converter(每個(gè)I/O口有25mA驅(qū)動(dòng)/吸收電流,微控制器)
PIC16C71 8-Bit CMOS Microcontrollers with A/D converter(每個(gè)I/O口有25mA驅(qū)動(dòng)/吸收電流,微控制器)
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
PIC16C712T-04/SO 功能描述:8位微控制器 -MCU 1.75KB 128RAM 13 I/O RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時(shí)鐘頻率: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
PIC16C712T-04/SS 功能描述:8位微控制器 -MCU 1.75KB 128RAM 13 I/O RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時(shí)鐘頻率: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
PIC16C712T-04E/SO 功能描述:8位微控制器 -MCU 1.75KB 128RAM 13 I/O RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時(shí)鐘頻率: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
PIC16C712T-04E/SS 功能描述:8位微控制器 -MCU 1.75KB 128RAM 13 I/O RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時(shí)鐘頻率: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
PIC16C712T-04I/SO 功能描述:8位微控制器 -MCU 1.75KB 128RAM 13 I/O RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時(shí)鐘頻率: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