Select one of the symbols to view example projects that use it.
 
Outline
#include <stdint.h>
#include "soc/dport_access.h"
esp_dport_access_read_buffer(uint32_t *, uint32_t, uint32_t)
Files
loading...
SourceVuESP-IDF Framework and ExamplesESP-IDFcomponents/soc/dport_access_common.c
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/* * SPDX-FileCopyrightText: 2010-2022 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 *//* ... */ #include <stdint.h> #include "soc/dport_access.h" // Read a sequence of DPORT registers to the buffer. void esp_dport_access_read_buffer(uint32_t *buff_out, uint32_t address, uint32_t num_words) { DPORT_INTERRUPT_DISABLE(); for (uint32_t i = 0; i < num_words; ++i) { buff_out[i] = DPORT_SEQUENCE_REG_READ(address + i * 4); }{...} DPORT_INTERRUPT_RESTORE(); }{ ... }
Details
Show:
from
Types: Columns: