view src/cs/services/vibr/vibr_api.h @ 295:e5cfd6362158

VIBR SWE hooked into RiViera
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 27 Mar 2022 19:44:08 +0000
parents e17bdedfbf2b
children a927f030a4e0
line wrap: on
line source

/*
 * This header file defines the external API of our VIBR SWE,
 * callable from other tasks such as UI or AT commands.
 */

#ifndef __VIBR_API_H
#define __VIBR_API_H

#include "rv/rv_general.h"

#define	VIBR_LEVEL_MAX	255

T_RV_RET vibr_pulse_train_start(UINT8 num_pulses, UINT8 vibr_level);
T_RV_RET vibr_pulse_train_stop(void);

#endif	/* include guard */