1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 04:52:59 +01:00

cc26x2_cc13x2: add FCFG->DAC_BIAS_CNF values

These are necessary to trim some registers at startup.

Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
This commit is contained in:
Jean Pierre Dudey 2020-04-29 18:01:04 -05:00
parent 6829dfdf1b
commit e514266186
No known key found for this signature in database
GPG Key ID: 631A70D74E41F1AD

View File

@ -126,6 +126,17 @@ typedef struct {
reg32_t DAC_CAL3; /**< Internal */
} fcfg_regs_t;
/**
* @brief FCFG1 register values
* @{
*/
#define FCFG1_DAC_BIAS_CNF_LPM_TRIM_IOUT_m 0x0003F000
#define FCFG1_DAC_BIAS_CNF_LPM_TRIM_IOUT_s 12
#define FCFG1_DAC_BIAS_CNF_LPM_BIAS_WIDTH_TRIM_m 0x00000E00
#define FCFG1_DAC_BIAS_CNF_LPM_BIAS_WIDTH_TRIM_s 9
#define FCFG1_DAC_BIAS_CNF_LPM_BIAS_BACKUP_EN 0x00000100
/** @} */
/**
* @ingroup cpu_specific_peripheral_memory_map
* @{