view src/cs/services/vibr/vibr_api.h @ 297:8dfdf88d632f

BUZM SWE initial implementation
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 29 Mar 2022 03:45:41 +0000
parents a927f030a4e0
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 */