comparison src/ports.inc @ 113:f3062a611eef

Merge
author heinrichsweikamp
date Mon, 23 Jun 2014 16:14:33 +0200
parents 11d4fc797f74
children 56276a2418f9
comparison
equal deleted inserted replaced
112:a24581f0b372 113:f3062a611eef
16 16
17 ; PORTB 17 ; PORTB
18 #DEFINE switch_left1 PORTB,1 ; Switch 18 #DEFINE switch_left1 PORTB,1 ; Switch
19 #DEFINE switch_right2 PORTB,0 ; Switch 19 #DEFINE switch_right2 PORTB,0 ; Switch
20 #DEFINE mcp_power PORTB,2 ; RX Power supply 20 #DEFINE mcp_power PORTB,2 ; RX Power supply
21 #DEFINE mcp_lf_data PORTB,3 ; RX in 21 #DEFINE s8_npower PORTB,3 ; Powers S8 Bulkhead (inverted)
22 #DEFINE LEDg PORTB,4 ; LED green 22 #DEFINE LEDg PORTB,4 ; LED green
23 #DEFINE tft_power PORTB,5 ; via P-MOSFET (Inverted) 23 #DEFINE tft_power PORTB,5 ; via P-MOSFET (Inverted)
24 #DEFINE icsp_clk PORTB,6 ; ICSP 24 #DEFINE icsp_clk PORTB,6 ; ICSP
25 #DEFINE icsp_dat PORTB,7 ; ICSP 25 #DEFINE icsp_dat PORTB,7 ; ICSP
26 ; TRIS=b'00001011' 26 ; TRIS=b'00001011'
60 60
61 ; PORTF 61 ; PORTF
62 ; RF1 (AN6, Batt_analog) and RF2 (AN7, Lightsensor) 62 ; RF1 (AN6, Batt_analog) and RF2 (AN7, Lightsensor)
63 ; TRIS=b'11000000' 63 ; TRIS=b'11000000'
64 64
65 ; PORTG 65 ; PORTG
66 #DEFINE mcp_clk PORTG,0 ; RX clk 66 #DEFINE TX3_PIEZO_CFG PORTG,0
67 #DEFINE RG1_blocked_by_RS232_2 PORTG,1 ; unused 67 #DEFINE RG1_blocked_by_RS232_2 PORTG,1 ; unused
68 #DEFINE tsop_rx PORTG,2 ; IR (RX2) 68 #DEFINE tsop_rx PORTG,2 ; IR (RX2)
69 ; RG3 (AN17, RSSI RX) 69 ; RG3 (AN17, RSSI RX)
70 ; RG4 (32768Hz Clock out) 70 ; RG4 (32768Hz Clock out)
71 #DEFINE RG5_unused PORTG,5 ; /MCLR 71 #DEFINE RG5_unused PORTG,5 ; /MCLR
74 ; TRIS=b'10001111' 74 ; TRIS=b'10001111'
75 75
76 ; PORTJ 76 ; PORTJ
77 #DEFINE RJ0_unused PORTJ,0 ; unused 77 #DEFINE RJ0_unused PORTJ,0 ; unused
78 #DEFINE RJ1_unused PORTJ,1 ; unused 78 #DEFINE RJ1_unused PORTJ,1 ; unused
79 #DEFINE RJ2_unused PORTJ,2 ; unused 79 #DEFINE CHRG_OUT PORTJ,2 ; CHRG_OUT
80 #DEFINE RJ3_unused PORTJ,3 ; unused 80 #DEFINE CHRG_IN PORTJ,3 ; CHRG_IN
81 #DEFINE vusb_in PORTJ,4 ; external power supply detect, USB enumerated 81 #DEFINE vusb_in PORTJ,4 ; external power supply detect, USB enumerated
82 #DEFINE power_sw1 PORTJ,5 ; Power supply for switch2 circuit 82 #DEFINE power_sw1 PORTJ,5 ; Power supply for switch2 circuit
83 #DEFINE MS5541_clk PORTJ,6 ; MS5541 mH 83 #DEFINE MS5541_clk PORTJ,6 ; MS5541 mH
84 #DEFINE MS5541_miso PORTJ,7 ; MS5541 mH 84 #DEFINE MS5541_miso PORTJ,7 ; MS5541 mH
85 ; TRIS=b'10010000' 85 ; TRIS=b'10010000'