Microchip Technology MCU PIC10F322T-I/OT SOT-23-6 MCP PIC10F322T-I/OT データシート

製品コード
PIC10F322T-I/OT
ページ / 210
PIC10(L)F320/322
DS41585A-page 78
Preliminary
 2011 Microchip Technology Inc.
 
REGISTER 10-3:
LATA: PORTA DATA LATCH REGISTER
U-0
U-0
U-0
U-0
U-0
R/W-x/u
R/W-x/u
R/W-x/u
LATA2
LATA1
LATA0
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-3
Unimplemented
: Read as ‘0’
bit 2-0
LATA<2:0>: 
RA<2:0> Output Latch Value bits
Note 1:
Writes to PORTx are actually written to the corresponding LATx register. Reads from LATx register return 
register values, not I/O pin values.
REGISTER 10-4:
ANSELA: PORTA ANALOG SELECT REGISTER
U-0
U-0
U-0
U-0
U-0
R/W-1/1
R/W-1/1
R/W-1/1
ANSA2
ANSA1
ANSA0
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-3
Unimplemented: 
Read as ‘0’
bit 2-0
ANSA<2:0>
: Analog Select between Analog or Digital Function on Pins RA<2:0>, respectively
1
 =  Analog input. Pin is assigned as analog input
(1)
. Digital Input buffer disabled.
0
 = Digital I/O. Pin is assigned to port or Digital special function.
Note 1:
Setting a pin to an analog input automatically disables the digital input circuitry. Weak pull-ups, if 
available, are unaffected. The corresponding TRIS bit must be set to Input mode by the user in order to 
allow external control of the voltage on the pin.