view src/cs/services/vibr/vibr_api.h @ 296:a927f030a4e0

add AT@VIBR and AT@VIBS commands for testing VIBR SWE
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 28 Mar 2022 00:43:11 +0000
parents e17bdedfbf2b
children
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_INFINITE	0
#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 */