DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

PIC16LC926-SCL View Datasheet(PDF) - Microchip Technology

Part Name
Description
Manufacturer
PIC16LC926-SCL
Microchip
Microchip Technology 
PIC16LC926-SCL Datasheet PDF : 182 Pages
First Prev 31 32 33 34 35 36 37 38 39 40 Next Last
PIC16C925/926
4.5 PORTE and TRISE Register
PORTE is a digital input only port. Each pin is multi-
plexed with an LCD segment driver. These pins have
Schmitt Trigger input buffers.
Note 1: On a Power-on Reset, these pins are
configured as LCD segment drivers.
2: To configure the pins as a digital port, the
corresponding bits in the LCDSE register
must be cleared. Any bit set in the LCDSE
register overrides any bit settings in the
corresponding TRIS register.
EXAMPLE 4-5: INITIALIZING PORTE
BCF STATUS,
BSF STATUS,
BCF LCDSE,
BCF LCDSE,
BCF LCDSE,
RP0
RP1
SE27
SE5
SE9
;Select Bank2
;
;Make all PORTE
;and PORTG<7>
;digital inputs
FIGURE 17-1: PORTE BLOCK DIAGRAM
LCD
Segment Data
LCD Segment
Output Enable
LCD
Common Data
LCD Common
Output Enable
LCDSE<n>
Digital Input/
LCD Output pin
Data Bus
RD Port
Q
D
ENEN
Schmitt
Trigger
Input
Buffer
VDD
RD TRIS
TABLE 4-9: PORTE FUNCTIONS
Name
Bit# Buffer Type
RE0/SEG05
bit0
ST
RE1/SEG06
bit1
ST
RE2/SEG07
bit2
ST
RE3/SEG08
bit3
ST
RE4/SEG09
bit4
ST
RE5/SEG10
bit5
ST
RE6/SEG11
bit6
ST
RE7/SEG27
bit7
ST
Legend: ST = Schmitt Trigger input
Function
Digital input or Segment Driver05.
Digital input or Segment Driver06.
Digital input or Segment Driver07.
Digital input or Segment Driver08.
Digital input or Segment Driver09.
Digital input or Segment Driver10.
Digital input or Segment Driver11.
Digital input or Segment Driver27 (not available on 64-pin devices).
TABLE 4-10: SUMMARY OF REGISTERS ASSOCIATED WITH PORTE
Address Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3
09h
PORTE
RE7
RE6 RE5
RE4
RE3
89h
TRISE PORTE Data Direction Control Register
10Dh LCDSE SE29 SE27 SE20
Legend: Shaded cells are not used by PORTE.
SE16
SE12
Bit 2
RE2
SE9
Bit 1
RE1
SE5
Bit 0
RE0
SE0
Value on
Power-on
Reset
Value on all
other
RESETS
0000 0000 0000 0000
1111 1111 1111 1111
1111 1111 1111 1111
DS39544A-page 36
Preliminary
2001 Microchip Technology Inc.

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]