view src/cs/services/vibr/vibr_api.h @ 294:e17bdedfbf2b

VIBR SWE initial implementation
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 27 Mar 2022 08:46:10 +0000
parents
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 */