Select one of the symbols to view example projects that use it.
 
Outline
#include <stdint.h>
#include "eri.h"
eri_read(int)
eri_write(int, uint32_t)
Files
loading...
SourceVuESP-IDF Framework and ExamplesESP-IDFcomponents/xtensa/eri.c
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/* * SPDX-FileCopyrightText: 2015-2024 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 OR MIT *//* ... */ #include <stdint.h> #include "eri.h" uint32_t eri_read(int addr) { uint32_t ret; asm volatile ( "RER %0,%1" :"=r"(ret):"r"(addr) ); return ret; }{ ... } void eri_write(int addr, uint32_t data) { asm volatile ( "WER %0,%1" ::"r"(data),"r"(addr) ); }{ ... }
Details
Show:
from
Types: Columns:
This file uses the notable symbols shown below. Click anywhere in the file to view more details.