summaryrefslogtreecommitdiffstats
path: root/src/target/firmware/include/rffe.h
blob: 00a270808800aa6037c730e19f82f4a73058f7d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef _RFFE_H
#define _RFFE_H

#include "gsm.h"

/* initialize RF Frontend */
void rffe_init(void);

/* switch RF Frontend Mode */
void rffe_mode(enum gsm_band band, int tx);

/* get current gain of RF frontend (anything between antenna and baseband in dBm */
uint8_t rffe_get_gain(void);

#endif