Add missing declarations (Efuse_Ldo11VoutSelTrim_Info_Type and Efuse_TxPower_Info_Type) in bl602_ef_ctrl.h to build with -DCHIP=bl602. These declarations come from https://github.com/bouffalolab/bl_iot_sdk/blob/master/components/bl602/bl602_std/bl602_std/StdDriver/Inc/bl602_ef_ctrl.h.

This commit is contained in:
Jean-François Milants 2021-07-03 20:50:01 +02:00 committed by profound1987
parent a62e7a566c
commit 8990e8c97f

View file

@ -197,6 +197,26 @@ typedef struct
uint32_t rsvd : 24; /*!< Reserved */
} Efuse_Capcode_Info_Type;
/**
* @brief Efuse Ldo11 Vout Sel Trim definition
*/
typedef struct {
uint32_t sel_value : 4; /*!< value trim */
uint32_t parity : 1; /*!< Parity of capcode */
uint32_t en : 1; /*!< Enable status */
uint32_t rsvd : 26; /*!< Reserved */
}Efuse_Ldo11VoutSelTrim_Info_Type;
/**
* @brief Efuse Tx Power definition
*/
typedef struct {
uint32_t txpower : 5; /*!< txpower value */
uint32_t parity : 1; /*!< Parity of capcode */
uint32_t en : 1; /*!< Enable status */
uint32_t rsvd : 25; /*!< Reserved */
}Efuse_TxPower_Info_Type;
/*@} end of group EF_CTRL_Public_Types */
/** @defgroup EF_CTRL_Public_Constants