;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Port P1
P1REN equ 0x0027 ; Port P1 resistor enable
P1SEL equ 0x0026 ; Port P1 selection
P1IE equ 0x0025 ; Port P1 interrupt enable
P1IES equ 0x0024 ; Port P1 interrupt edge select
P1IFG equ 0x0023 ; Port P1 interrupt flag
P1DIR equ 0x0022 ; Port P1 direction
P1OUT equ 0x0021 ; Port P1 output
P1IN equ 0x0020 ; Port P1 input
P1SEL2 equ 0x0041 ; Port P1 selection 2
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Port P2
P2REN equ 0x002f ; Port P2 resistor enable
P2SEL equ 0x002e ; Port P2 selection
P2IE equ 0x002d ; Port P2 interrupt enable
P2IES equ 0x002c ; Port P2 interrupt edge select
P2IFG equ 0x002b ; Port P2 interrupt flag
P2DIR equ 0x002a ; Port P2 direction
P2OUT equ 0x0029 ; Port P2 output
P2IN equ 0x0028 ; Port P2 input
P2SEL2 equ 0x0042 ; Port P1 selection 2
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Port P3
P3IN equ 0x18 ; Input
P3OUT equ 0x19 ; Output
P3DIR equ 0x1a ; Direction
P3SEL equ 0x1b ; Port Select
P3SEL2 equ 0x43 ; Port Select 2
P3REN equ 0x10 ; Resistor Enable
Rappel sur les portes logiques , symboles Français / Américain