Mercurial > public > hwos_code
comparison src/ostc3.asm @ 200:dcd513840c6c
cleanup
author | heinrichsweikamp |
---|---|
date | Wed, 12 Nov 2014 19:33:15 +0100 |
parents | 800f09c9089c |
children | 93085f540746 |
comparison
equal
deleted
inserted
replaced
199:800f09c9089c | 200:dcd513840c6c |
---|---|
82 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 | 82 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 |
83 movwf TRISD | 83 movwf TRISD |
84 movlw b'00000000' ; Init port | 84 movlw b'00000000' ; Init port |
85 movwf PORTD | 85 movwf PORTD |
86 | 86 |
87 movlw b'00000000' ; 1= Input, RE1 -> Power_IR, RE2 -> CS_MCP, RE3 -> LED_blue, RE4 -> power_sw1, RE5 -> Set to 1 for C3 hardware | 87 movlw b'00000000' ; 1= Input, RE1 -> Power_IR, RE2 -> CS_MCP, RE3 -> LED_blue, RE4 -> power_sw1, RE5 -> Set to 1 for cR hardware |
88 movwf TRISE | 88 movwf TRISE |
89 movlw b'00110000' ; Init port | 89 movlw b'00110000' ; Init port |
90 movwf PORTE | 90 movwf PORTE |
91 | 91 |
92 movlw b'00111110' ; 1= Input, (RF1, RF2, RF3, RF4, RF5) -> Analog | 92 movlw b'00111110' ; 1= Input, (RF1, RF2, RF3, RF4, RF5) -> Analog |