comparison src/ostc3.asm @ 186:a004b482604a

minor
author heinrichsweikamp
date Wed, 22 Oct 2014 18:09:01 +0200
parents e2f04bb2539c
children 800f09c9089c
comparison
equal deleted inserted replaced
185:f515712d8cd6 186:a004b482604a
79 movlw b'00100000' ; 1= Input, RD0 -> TFT_NCS, RD1 -> TFT_RS, RD2 -> TFT_NWR, RD3 -> TFT_RD, RD4 -> MOSI_Flash, RD5 -> MISO_Flash, RD6 -> CLK_Flash, RD7 -> TFT_NRESET 79 movlw b'00100000' ; 1= Input, RD0 -> TFT_NCS, RD1 -> TFT_RS, RD2 -> TFT_NWR, RD3 -> TFT_RD, RD4 -> MOSI_Flash, RD5 -> MISO_Flash, RD6 -> CLK_Flash, RD7 -> TFT_NRESET
80 movwf TRISD 80 movwf TRISD
81 movlw b'00000000' ; Init port 81 movlw b'00000000' ; Init port
82 movwf PORTD 82 movwf PORTD
83 83
84 movlw b'00000000' ; 1= Input, RE1 -> Power_IR, RE2 -> CS_MCP, RE3 -> LED_blue, RE4 -> power_sw1, 84 movlw b'00000000' ; 1= Input, RE1 -> Power_IR, RE2 -> CS_MCP, RE3 -> LED_blue, RE4 -> power_sw1, RE5 -> Set to 1 for C3 hardware
85 movwf TRISE 85 movwf TRISE
86 movlw b'00010000' ; Init port 86 movlw b'00110000' ; Init port
87 movwf PORTE 87 movwf PORTE
88 88
89 movlw b'00111110' ; 1= Input, (RF1, RF2, RF3, RF4, RF5) -> Analog 89 movlw b'00111110' ; 1= Input, (RF1, RF2, RF3, RF4, RF5) -> Analog
90 movwf TRISF 90 movwf TRISF
91 movlw b'00000000' ; Init port 91 movlw b'00000000' ; Init port