comparison src/hwos.asm @ 627:bf5fee575701

minor cleanup, reset rx circuity
author heinrichsweikamp
date Sun, 30 Jun 2019 23:22:32 +0200
parents 7bdcc591196c
children cd58f7fc86db
comparison
equal deleted inserted replaced
624:7bdcc591196c 627:bf5fee575701
196 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 196 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
197 movwf TRISD 197 movwf TRISD
198 ; movlw b'00000000' ; init port 198 ; movlw b'00000000' ; init port
199 clrf PORTD 199 clrf PORTD
200 200
201 ; movlw b'00000000' ; 1= input, RE1 -> Power_IR, RE2 -> CS_MCP, RE3 -> LED_blue, RE4 -> power_sw1, RE5 -> set to 1 for cR hardware 201 movlw b'00100000' ; 1= input, RE0 -> NPOWER_BLE, RE1 -> Power_IR, RE2 -> CS_MCP, RE3 -> LED_blue, RE4 -> power_sw1, RE5 -> leave as input
202 clrf TRISE 202 movwf TRISE
203 movlw b'00110001' ; init port 203 movlw b'00010001' ; init port
204 movwf PORTE 204 movwf PORTE
205 205
206 movlw b'01111110' ; 1= input, (RF1, RF2, RF3, RF4, RF5) -> Analog 206 movlw b'01111110' ; 1= input, (RF1, RF2, RF3, RF4, RF5) -> Analog
207 movwf TRISF 207 movwf TRISF
208 ; movlw b'00000000' ; init port 208 ; movlw b'00000000' ; init port