 ;; This stuff really needs to be part of the core library
 
 (def full-available-modes
-  #{:input :output :input-rising :input-falling :input-both :ain :aout :pwm})
+  #{:input :output :ain :aout :pwm})
 
 (def available-modes
   #{:gpio :ain :aout :pwm})

  (read-value [board pin-n]
    (read-pin* board pin-n))

  pcp/PAinPin
  (read-raw-value [board pin-n]
    (assert (= (current-pin-mode board pin-n) :ain)
            "Only :ain pins have raw values")

(defmulti read-pin*
  "Inner method for reading from a pin; dispatches on pin mode"
  (fn [board pin-n]
    (pc/current-pin-modes board) pin-n))


;; In addition to the standard protocol functions, we also need something which let's us set the state of
