Setup and control of pin interrupts and location of the pin interrupt ISR's. More...
Go to the source code of this file.
Functions | |
| __interrupt void | port1ISR (void) |
| Interrupt vector of port1, gets called when a interrupt on this port is reached. | |
| __interrupt void | port2ISR (void) |
| Interrupt vector of port2, gets called when a interrupt on this port is reached. | |
Variables | |
| volatile unsigned int | lastDirection = 0 |
| volatile int | toggle123 = 0 |
Setup and control of pin interrupts and location of the pin interrupt ISR's.
Definition in file pinInterrupts.c.
| __interrupt void port1ISR | ( | void | ) |
Interrupt vector of port1, gets called when a interrupt on this port is reached.
Used for the DCF77 pin where the receiver is connected to
Definition at line 26 of file pinInterrupts.c.
References countDcf77Messages, interruptDcf(), toggle123, and toggleInterruptDcf.
| __interrupt void port2ISR | ( | void | ) |
Interrupt vector of port2, gets called when a interrupt on this port is reached.
Used for the fwdButton to fast forward the mechanical time
Definition at line 90 of file pinInterrupts.c.
References timerCompareStepperSpeedToggle, toggleFwdInterrupt, and toggleFwdInterruptISR.
| volatile unsigned int lastDirection = 0 |
Definition at line 16 of file pinInterrupts.c.
| volatile int toggle123 = 0 |
Definition at line 18 of file pinInterrupts.c.
Referenced by port1ISR().