參數資料
型號: PIC18F242-I/SP
廠商: Microchip Technology
文件頁數: 3/134頁
文件大?。?/td> 0K
描述: IC MCU FLASH 8KX16 EE A/D 28DIP
產品培訓模塊: Asynchronous Stimulus
8-bit PIC® Microcontroller Portfolio
標準包裝: 15
系列: PIC® 18F
核心處理器: PIC
芯體尺寸: 8-位
速度: 40MHz
連通性: I²C,SPI,UART/USART
外圍設備: 欠壓檢測/復位,LVD,POR,PWM,WDT
輸入/輸出數: 23
程序存儲器容量: 16KB(8K x 16)
程序存儲器類型: 閃存
EEPROM 大?。?/td> 256 x 8
RAM 容量: 768 x 8
電壓 - 電源 (Vcc/Vdd): 4.2 V ~ 5.5 V
數據轉換器: A/D 5x10b
振蕩器型: 外部
工作溫度: -40°C ~ 85°C
封裝/外殼: 28-DIP(0.300",7.62mm)
包裝: 管件
配用: DVA18XP280-ND - DEVICE ADAPTER 18F2220 PDIP 28LD
其它名稱: PIC18F242I/SP
PIC16C9XX
DS30444E - page 100
1997 Microchip Technology Inc.
13.4.1
SEGMENT ENABLES
The LCDSE register is used to select the pin function
for groups of pins. The selection allows each group of
pins to operate as either LCD drivers or digital only
pins. To congure the pins as a digital port, the corre-
sponding bits in the LCDSE register must be cleared.
If the pin is a digital I/O the corresponding TRIS bit con-
trols the data direction. Any bit set in the LCDSE regis-
ter overrides any bit settings in the corresponding TRIS
register.
Note 1: On a Power-on Reset these pins are con-
gured as LCD drivers.
Note 2: The LMUX1:LMUX0 takes precedence
over the LCDSE bit settings for pins RD7,
RD6 and RD5.
EXAMPLE 13-1: STATIC MUX WITH 32
SEGMENTS
BCF
STATUS,RP0
;Select Bank 2
BSF
STATUS,RP1
;
BCF
LCDCON,LMUX1 ;Select Static MUX
BCF
LCDCON,LMUX0 ;
MOVLW 0xFF
;Make PortD,E,F,G
MOVWF LCDSE
;LCD pins
. . .
;configure rest of LCD
EXAMPLE 13-2: 1/3 MUX WITH 13
SEGMENTS
BCF
STATUS,RP0
;Select Bank 2
BSF
STATUS,RP1
;
BSF
LCDCON,LMUX1 ;Select 1/3 MUX
BCF
LCDCON,LMUX0 ;
MOVLW 0x87
;Make PORTD<7:0> &
MOVWF LCDSE
;PORTE<6:0> LCD pins
. . .
;configure rest of LCD
FIGURE 13-12:LCDSE REGISTER (ADDRESS 10Dh)
R/W-1
SE29
SE27
SE20
SE16
SE12
SE9
SE5
SE0
R =Readable bit
W =Writable bit
U =Unimplemented bit,
Read as ‘0’
-n =Value at POR reset
bit7
bit0
bit 7:
SE29: Pin function select
RD7/COM1/SEG31 - RD5/COM3/SEG29
1 = pins have LCD drive function
0 = pins have digital Input function
The LMUX1:LMUX0 setting takes precedence over the LCDSE register.
bit 6:
SE27: Pin function select
RG7/SEG28 and RE7/SEG27
1 = pins have LCD drive function
0 = pins have digital Input function
bit 5:
SE20: Pin function select
RG6/SEG26 - RG0/SEG20
1 = pins have LCD drive function
0 = pins have digital Input function
bit 4:
SE16: Pin function select
RF7/SEG19 - RF4/SEG16
1 = pins have LCD drive function
0 = pins have digital Input function
bit 3:
SE12: Pin function select
RF3/SEG15 - RF0/SEG12
1 = pins have LCD drive function
0 = pins have digital Input function
bit 2:
SE9: Pin function select
RE6/SEG11 - RE4/SEG09
1 = pins have LCD drive function
0 = pins have digital Input function
bit 1:
SE5: Pin function select
RE3/SEG08 - RE0/SEG05
1 = pins have LCD drive function
0 = pins have digital Input function
bit 0:
SE0: Pin function select
RD4/SEG04 - RD0/SEG00
1 = pins have LCD drive function
0 = pins have digital I/O function
相關PDF資料
PDF描述
PIC24HJ128GP504-I/PT IC PIC MCU FLASH 128K 44TQFP
AT91SAM7X128-AU-999 IC MCU ARM7 128KB FLASH 100LQFP
PIC18F2480-I/SO IC PIC MCU FLASH 8KX16 28SOIC
PIC16C65B-04/L IC MCU OTP 4KX14 PWM 44PLCC
516-056-000-101 CONN PLUG 56POS RACK & PANEL
相關代理商/技術參數
參數描述
PIC18F242T-E/SO 功能描述:8位微控制器 -MCU 40MHz 16KB Flash 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
PIC18F242T-I/SO 功能描述:8位微控制器 -MCU 16KB 768 RAM 23I/O 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
PIC18F2431-E/ML 功能描述:8位微控制器 -MCU 16KB 768 RAM 22 I/O 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
PIC18F2431-E/MM 功能描述:8位微控制器 -MCU 16 KB FL 768 RAM 22 I/O 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
PIC18F2431-E/SO 功能描述:8位微控制器 -MCU 16KB 768 RAM 22 I/O 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