]> average.org Git - pulsecounter.git/blobdiff - msp430/Hal/Hal.h
separate reporting for jitter counters
[pulsecounter.git] / msp430 / Hal / Hal.h
index 1ceecb55f63c98aff226bfc1f0ee5813076a489a..a6131903630a603024a0af0b706fb79cf4b197d6 100644 (file)
@@ -46,7 +46,7 @@ typedef void (*Hal_Handler)(uint8_t id);
  *   BUTTON interrupt enabled
  *
  **/
-extern void Hal_gpioEnable(Hal_Handler handler);
+extern void Hal_gpioEnable(Hal_Handler handler, void (*jhandler)(uint8_t id, uint32_t count));
 /**
  * --------- Hal_connected ---------
  *
@@ -227,13 +227,13 @@ extern void Hal_redLedToggle(void);
  *   tickHandler - the address of the user's tick handler that will be called
  *
  * Returns:
- *   None
+ *   Future clock when handler will be called
  *
  * Side Effects:
  *   tickhandler called by the idle loop
  *
  **/
-extern void Hal_tickStart(uint16_t msecs, Hal_Handler Handler);
+extern uint16_t Hal_tickStart(uint16_t msecs, void (*handler)(uint16_t clock));
 extern void Hal_tickStop(void);
 
 #ifdef __cplusplus