view src/cs/services/vibr/vibr_messages_i.h @ 304:58c7961bd0b0 default tip

TCH tap: extend DL sniffing feature to support CSD modes Our debug feature for TCH DL sniffing reads the content of the DSP's a_dd_0 buffer (or a_dd_1 for TCH/H subchannel 1) at appropriate times and forwards captured bits to the host. This feature was originally implemented for TCH/FS, TCH/EFS and TCH/HS - now extend it to cover TCH/F data modes too.
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 25 Nov 2024 23:33:27 +0000
parents e17bdedfbf2b
children
line wrap: on
line source

/*
 * In this header file we are going to define our internal messages
 * that will be sent to our VIBR task by our API layer.
 */

#ifndef __VIBR_MESSAGES_I
#define __VIBR_MESSAGES_I

#include "rv/rv_general.h"

struct vibr_start_msg {
	T_RV_HDR hdr;
	UINT8 num_pulses;
	UINT8 vibr_level;
};

struct vibr_stop_msg {
	T_RV_HDR hdr;
};

enum vibr_msg_id {
	VIBR_START_REQ	= 1,
	VIBR_STOP_REQ
};

#endif