summaryrefslogtreecommitdiffstats
path: root/package/lqtapi/src/mps/vmmc-sig.h
blob: e8f047063bcaf3013347af3054051da8ad6be713 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef __VMMC_SIG_H__
#define __VMMC_SIG_H__

#include "vmmc-module.h"

struct vmmc_sig {
	struct vmmc *vmmc;
	unsigned int id;
	struct vmmc_module module;

	uint32_t sig_cache;
	uint32_t dtmfr_cache;
};

int vmmc_sig_init(struct vmmc_sig *sig, struct vmmc *vmmc, unsigned int id);

void vmmc_sig_dtmf_event_handler(struct vmmc *vmmc, uint32_t event, uint32_t data);

#endif