Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

PIC16F1933-E/P Datasheet(PDF) 99 Page - Microchip Technology

Part # PIC16F1933-E/P
Description  28/40/44-Pin Flash-Based, 8-Bit CMOS Microcontrollers with LCD Driver and nanoWatt Technology
PDF  418 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC16F1933-E/P Datasheet(HTML) 99 Page - Microchip Technology

Back Button PIC16F1933-E/P Datasheet HTML 95Page - Microchip Technology PIC16F1933-E/P Datasheet HTML 96Page - Microchip Technology PIC16F1933-E/P Datasheet HTML 97Page - Microchip Technology PIC16F1933-E/P Datasheet HTML 98Page - Microchip Technology PIC16F1933-E/P Datasheet HTML 99Page - Microchip Technology PIC16F1933-E/P Datasheet HTML 100Page - Microchip Technology PIC16F1933-E/P Datasheet HTML 101Page - Microchip Technology PIC16F1933-E/P Datasheet HTML 102Page - Microchip Technology PIC16F1933-E/P Datasheet HTML 103Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 99 / 418 page
background image
© 2008 Microchip Technology Inc.
Preliminary
DS41364A-page 97
PIC16F193X/LF193X
6.5.1
ANSELD REGISTER
The ANSELD register (Register 6-17) is used to
configure the Input mode of an I/O pin to analog.
Setting the appropriate ANSELD 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 ANSELD 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.
Note:
The ANSELD register must be initialized
to configure an analog channel as a digital
input. Pins configured as analog inputs will
read ‘0’.
REGISTER 6-16:
TRISD: PORTD TRI-STATE REGISTER(1)
R/W-1/1
R/W-1/1
R/W-1/1
R/W-1/1
R/W-1/1
R/W-1/1
R/W-1/1
R/W-1/1
TRISD7
TRISD6
TRISD5
TRISD4
TRISD3
TRISD2
TRISD1
TRISD0
bit 7
bit 0
Legend:
R = Readable bit
W = Writable bit
U = Unimplemented bit, read as ‘0’
u = bit is unchanged
x = Bit is unknown
-n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set
‘0’ = Bit is cleared
bit 7-0
TRISD<7:0>: PORTD Tri-State Control bits
1
= PORTD pin configured as an input (tri-stated)
0
= PORTD pin configured as an output
Note 1:
TRISD is not implemented on PIC16F1933/1936/1938 devices, read as ‘0’.
2:
PORTD implemented on PIC16F1934/1937/1939/PIC16LF1934/1937/1939 devices only.
REGISTER 6-17:
ANSELD: PORTD ANALOG SELECT REGISTER(2)
R/W-1/1
R/W-1/1
R/W-1/1
R/W-1/1
R/W-1/1
R/W-1/1
R/W-1/1
R/W-1/1
ANSD7
ANSD6
ANSD5
ANSD4
ANSD3
ANSD2
ANSD1
ANSD0
bit 7
bit 0
Legend:
R = Readable bit
W = Writable bit
U = Unimplemented bit, read as ‘0’
u = bit is unchanged
x = Bit is unknown
-n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set
‘0’ = Bit is cleared
bit 7-0
ANSD<7:0>: Analog Select between Analog or Digital Function on Pins RD<7:0>, respectively
0
= Digital I/O. Pin is assigned to port or digital special function.
1
= Analog input. Pin is assigned as analog input(1). Digital input buffer disabled.
Note 1:
When setting a pin to an analog input, the corresponding TRIS bit must be set to Input mode in order to
allow external control of the voltage on the pin.
2:
ANSELD register is not implemented on the PIC16F1933/1936/1938. Read as ‘0’.
3:
PORTD implemented on PIC16F1934/1937/1939/PIC16LF1934/1937/1939 devices only.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com