FreeCalypso > hg > fc-tourmaline
comparison src/ui/mfw/mfw_band.h @ 3:67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 16 Oct 2020 06:33:10 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
2:3a14ee9a9843 | 3:67bfe9f274f6 |
---|---|
1 #ifndef _MFW_BAND_H_ | |
2 #define _MFW_BAND_H_ | |
3 | |
4 typedef enum | |
5 { MFW_BAND_Busy= -2, | |
6 MFW_BAND_Fail = -1, | |
7 MFW_BAND_OK, | |
8 MFW_BAND_InProgress | |
9 } T_MFW_BAND_RET; | |
10 | |
11 typedef enum | |
12 { | |
13 MFW_BAND_MODE_Auto = 0, | |
14 MFW_BAND_MODE_Manual = 1 | |
15 } T_MFW_BAND_MODE; | |
16 | |
17 /* SPR919 - SH - Band is now a bit field*/ | |
18 /*a0393213 compiler warnings removal - typedef removed*/ | |
19 enum | |
20 { | |
21 MFW_BAND_GSM_900 = 1, | |
22 MFW_BAND_DCS_1800 = 2, | |
23 MFW_BAND_PCS_1900 = 4, | |
24 MFW_BAND_E_GSM = 8, | |
25 MFW_BAND_GSM_850 = 16 | |
26 }; | |
27 | |
28 T_MFW_BAND_RET band_radio_mode_switch(T_MFW_BAND_MODE mode, UBYTE band); | |
29 | |
30 T_MFW_BAND_RET band_get_radio_modes(T_MFW_BAND_MODE* maxMode, UBYTE *band); | |
31 | |
32 T_MFW_BAND_RET band_get_current_radio_mode(T_MFW_BAND_MODE* mode, UBYTE *band); | |
33 #endif /* _MFW_BAND_H_*/ |