Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: modem_ref_helper_for_v5_3_217
Diff: include/alp.h
- Revision:
- 35:ac940cf8ebe6
- Parent:
- 30:74aa36420c61
- Child:
- 37:f5424d109c6d
diff -r 137ae523ca43 -r ac940cf8ebe6 include/alp.h --- a/include/alp.h Wed Aug 29 15:30:30 2018 +0000 +++ b/include/alp.h Thu Sep 06 10:41:51 2018 +0000 @@ -55,6 +55,11 @@ // helpers #include "alp_helpers.h" +// ALP_EVT_ITF_READY/CLOSED Event-param builder/splitter +#define ALP_ITF_EVP(itf,err) (evt_param_t)(int)(((u8)err << 8)|((u8)itf)) +#define ALP_ITF_EVP2ITF(evp) ((evp) & 0xFF) +#define ALP_ITF_EVP2ERR(evp) ((evp >> 8) & 0xFF) + // D7AActP Substitution modes: // ---------------------------------------------------------------------- // MODE1: replace FID= actp.fid, offset=0, length=(actp.fid).length @@ -77,6 +82,7 @@ ALP_ITF_FID_COM0, ALP_ITF_FID_COM1, ALP_ITF_FID_COM2, + ALP_ITF_FID_COM_HACK_LIMIT = ALP_ITF_FID_COM2, ALP_ITF_FID_BLE, } alp_itf_fixed_fids_t; @@ -187,9 +193,22 @@ //====================================================================== //====================================================================== +#include "d7a_1x.h" + +//====================================================================== +// alp_itf_d7a_cfg_t +//---------------------------------------------------------------------- +// @brief ALP D7A interface configuration structure +//====================================================================== +TYPEDEF_STRUCT_PACKED +{ + u8 type; + d7a_sp_cfg_t cfg; + +} alp_itf_d7a_cfg_t; + #define ALP_D7A_ISTAT_NONE 0 #define ALP_D7A_ISTAT_UNS (1<<0) #define ALP_D7A_ISTAT_RESP (1<<1) - #endif // __ALP_H__ \ No newline at end of file