Code: Select all
uint32_t test_mode = 0x00000001;
uint32_t test_num = 0x00000001;
uint32_t volatile * const p_din_mode_reg = (uint32_t *) 0x60025024;
*p_din_mode_reg = test_mode;
uint32_t volatile * const p_din_num_reg = (uint32_t *) 0x60025028;
*p_din_num_reg = test_num;
if(*p_din_num_reg != test_num)
{
ESP_LOGI(TAG, "p_din_num_reg: %4x", (unsigned int)*p_din_num_reg);
return ESP_FAIL;
}
if(*p_din_mode_reg != test_mode)
{
ESP_LOGI(TAG, "p_din_mode_reg: %4x", (unsigned int)*p_din_mode_reg);
return ESP_FAIL;
}
Also in the current ESP-IDF code this section is empty:
https://github.com/espressif/esp-idf/bl ... _ll.h#L864
Is it possible to write to these register?
Kind regards