17#ifndef CC26X2_CC13X2_SETUP_H
18#define CC26X2_CC13X2_SETUP_H
29#define ROM_API_SETUP ((uint32_t *) (ROM_API_TABLE[28]))
35#define rom_setup_after_cold_reset_wakeup_from_shutdown_cfg1 \
36 ((void (*)(uint32_t mode_conf))ROM_API_SETUP[0])
38#define rom_setup_after_cold_reset_wakeup_from_shutdown_cfg2 \
39 ((void (*)(uint32_t rev, uint32_t mode_conf))ROM_API_SETUP[1])
41#define rom_setup_after_cold_reset_wakeup_from_shutdown_cfg3 \
42 ((void (*)(uint32_t mode_conf))ROM_API_SETUP[2])
44#define rom_setup_get_trim_for_adc_sh_mode_en \
45 ((uint32_t (*)(uint32_t rev))ROM_API_SETUP[3])
47#define rom_setup_get_trim_for_adc_sh_vbuf_en \
48 ((uint32_t (*)(uint32_t rev))ROM_API_SETUP[4])
50#define rom_setup_get_trim_for_ampcomp_ctrl \
51 ((uint32_t (*)(uint32_t rev))ROM_API_SETUP[5])
53#define rom_setup_get_trim_for_ampcomp_th1 \
54 ((uint32_t (*)(void))ROM_API_SETUP[6])
56#define rom_setup_get_trim_for_ampcomp_th2 \
57 ((uint32_t (*)(void))ROM_API_SETUP[7])
59#define rom_setup_get_trim_for_anabypass_value1 \
60 ((uint32_t (*)(uint32_t mode_conf))ROM_API_SETUP[8])
62#define rom_setup_get_trim_for_dblr_loop_filter_reset_voltage \
63 ((uint32_t (*)(uint32_t rev))ROM_API_SETUP[9])
65#define rom_setup_get_trim_for_radc_ext_cfg \
66 ((uint32_t (*)(uint32_t rev))ROM_API_SETUP[10])
68#define rom_setup_get_trim_for_rc_osc_lf_ibias_trim \
69 ((uint32_t (*)(uint32_t rev))ROM_API_SETUP[11])
71#define rom_setup_get_trim_for_rc_osc_lf_rtune_ctune_trim \
72 ((uint32_t (*)(void))ROM_API_SETUP[12])
74#define rom_setup_get_trim_for_xosc_hf_ctl \
75 ((uint32_t (*)(uint32_t rev))ROM_API_SETUP[13])
77#define rom_setup_get_trim_for_xosc_hf_fast_start \
78 ((uint32_t (*)(void))ROM_API_SETUP[14])
80#define rom_setup_get_trim_for_xosc_hf_ibiastherm \
81 ((uint32_t (*)(void))ROM_API_SETUP[15])
83#define rom_setup_get_trim_for_xosc_lf_regulator_and_cmirrwr_ratio \
84 ((uint32_t (*)(uint32_t rev))ROM_API_SETUP[16])
86#define rom_setup_set_aon_rtc_sub_sec_inc \
87 ((void (*)(uint32_t subsecinc))ROM_API_SETUP[17])
89#define rom_setup_set_cache_mode_according_to_ccfg_setting \
90 ((void (*)(void))ROM_API_SETUP[18])
92#define rom_setup_step_vddr_trim_to \
93 ((void (*)(uint32_t tocode))ROM_API_SETUP[19])
void setup_trim_device(void)
Performs the necessary trim of the device which is not done in ROM boot code.
CC26xx, CC13xx definitions.