From 86b32aec117411e6d643d72b534f705718bb0c55 Mon Sep 17 00:00:00 2001 From: Michael Buesch Date: Sun, 26 Jul 2009 21:48:31 +0200 Subject: touchprobe: Add enable signal Signed-off-by: Michael Buesch --- touchprobe/firmware/touchprobe.S | 38 +++++++++++++++++++++++++++++++------- 1 file changed, 31 insertions(+), 7 deletions(-) diff --git a/touchprobe/firmware/touchprobe.S b/touchprobe/firmware/touchprobe.S index e3d3e9d..15f48dd 100644 --- a/touchprobe/firmware/touchprobe.S +++ b/touchprobe/firmware/touchprobe.S @@ -28,9 +28,10 @@ ; Hardware definitions .equ PROBESW_PIN = PINC ; Probe switches input -.equ PROBESW1_BIT = 0 -.equ PROBESW2_BIT = 1 -.equ PROBESW3_BIT = 2 +.equ PROBESW1_BIT = 0 ; Trip switch 1 +.equ PROBESW2_BIT = 1 ; Trip switch 2 +.equ PROBESW3_BIT = 2 ; Trip switch 3 +.equ PROBEEN_BIT = 3 ; Probe-enable switch .equ PROBESW_MASK = (1<