FreeCalypso > hg > fc-tourmaline
diff src/cs/drivers/drv_app/buzzer/vibrator.h @ 289:4d203ef0eb4b
implement vibrator on/off control driver
The piece implemented here is just the HW on/off driver; on top of
this driver there will be a VIBR service (to be implemented in RiViera
land) that will implement vibration pulse trains.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 26 Mar 2022 17:03:36 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/cs/drivers/drv_app/buzzer/vibrator.h Sat Mar 26 17:03:36 2022 +0000 @@ -0,0 +1,7 @@ +/* + * This header file is a FreeCalypso addition: it defines the functional + * interface to the hardware vibrator driver. + */ + +void HW_vibrator_on(SYS_UWORD8 level); +void HW_vibrator_off(void);