#define SET_CALIBRATION_PULSE(x)
-/* Toggle the 1kHz calibration pin, only accurate up to ca. 8MHz. */
#define TOGGLE_CALIBRATION_PIN() PA7 = !PA7
#define LED_CLEAR() PC0 = 1; PC1 = 1;
#define SET_CALIBRATION_PULSE(x)
-/* Toggle the 1kHz calibration pin, only accurate up to ca. 8MHz. */
#define TOGGLE_CALIBRATION_PIN() PC2 = !PC2
#define LED_CLEAR() PC0 = 1; PC1 = 1;
#define SET_CALIBRATION_PULSE(x) set_calibration_pulse(x)
-/* Toggle the 1kHz calibration pin, only accurate up to ca. 8MHz. */
/* Note: There's no PE2 as IOE is not bit-addressable (see TRM 15.2). */
#define TOGGLE_CALIBRATION_PIN() IOE = IOE ^ 0x04
void timer2_isr(void) __interrupt TF2_ISR
{
+ /* Toggle the probe calibration pin, only accurate up to ca. 8MHz. */
TOGGLE_CALIBRATION_PIN();
if (ledcounter && (--ledcounter == 0))