X-Git-Url: http://average.org/gitweb/?a=blobdiff_plain;f=msp430%2FHal%2FHal.h;h=a6131903630a603024a0af0b706fb79cf4b197d6;hb=c304a2583cac01bbf48a3d43cb3299a24ec362e6;hp=1ceecb55f63c98aff226bfc1f0ee5813076a489a;hpb=edfc471b90c3057b75c03fc29a43fabfb20b8721;p=pulsecounter.git diff --git a/msp430/Hal/Hal.h b/msp430/Hal/Hal.h index 1ceecb5..a613190 100644 --- a/msp430/Hal/Hal.h +++ b/msp430/Hal/Hal.h @@ -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