Changeset 51 for webserver/example/EnergyMeters/Source
- Timestamp:
- 02/18/10 22:55:34 (15 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
webserver/example/EnergyMeters/Source/EnergyMeters/Meters_ISRs.c
r50 r51 36 36 IO2_INT_CLR |= (1<<10); 37 37 } 38 elseif ((IO2_INT_STAT_R & (1 << 0)) != 0) /* P0.0 interrupt triggered - connector J4, Pin 0*/38 if ((IO2_INT_STAT_R & (1 << 0)) != 0) /* P0.0 interrupt triggered - connector J4, Pin 0*/ 39 39 { 40 40 handleMeterTick(METER_INDEX_GAS); 41 41 IO2_INT_CLR |= (1<<0); 42 42 } 43 elseif ((IO2_INT_STAT_R & (1 << 1)) != 0) /* P0.1 interrupt triggered - connector J4, Pin 1*/43 if ((IO2_INT_STAT_R & (1 << 1)) != 0) /* P0.1 interrupt triggered - connector J4, Pin 1*/ 44 44 { 45 45 handleMeterTick(METER_INDEX_EL1); 46 46 IO2_INT_CLR |= (1<<1); 47 47 } 48 elseif ((IO2_INT_STAT_R & (1 << 2)) != 0) /* P0.2 interrupt triggered - connector J4, Pin 2*/48 if ((IO2_INT_STAT_R & (1 << 2)) != 0) /* P0.2 interrupt triggered - connector J4, Pin 2*/ 49 49 { 50 50 handleMeterTick(METER_INDEX_EL2); 51 51 IO2_INT_CLR |= (1<<2); 52 52 } 53 elseif ((IO2_INT_STAT_R & (1 << 3)) != 0) /* P0.3 interrupt triggered - connector J4, Pin 3*/53 if ((IO2_INT_STAT_R & (1 << 3)) != 0) /* P0.3 interrupt triggered - connector J4, Pin 3*/ 54 54 { 55 55 handleMeterTick(METER_INDEX_AU1); 56 56 IO2_INT_CLR |= (1<<3); 57 57 } 58 elseif ((IO2_INT_STAT_R & (1 << 4)) != 0) /* P0.4 interrupt triggered - connector J4, Pin 4*/58 if ((IO2_INT_STAT_R & (1 << 4)) != 0) /* P0.4 interrupt triggered - connector J4, Pin 4*/ 59 59 { 60 60 handleMeterTick(METER_INDEX_AU2);