mirror of
https://github.com/0xFEEDC0DE64/arduino-esp32.git
synced 2025-07-02 13:30:59 +02:00
Update tools to latest IDF
This commit is contained in:
31
tools/sdk/include/xtensa-debug-module/eri.h
Normal file
31
tools/sdk/include/xtensa-debug-module/eri.h
Normal file
@ -0,0 +1,31 @@
|
||||
#ifndef ERI_H
|
||||
#define ERI_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
/*
|
||||
The ERI is a bus internal to each Xtensa core. It connects, amongst others, to the debug interface, where it
|
||||
allows reading/writing the same registers as available over JTAG.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* @brief Perform an ERI read
|
||||
* @param addr : ERI register to read from
|
||||
*
|
||||
* @return Value read
|
||||
*/
|
||||
uint32_t eri_read(int addr);
|
||||
|
||||
|
||||
/**
|
||||
* @brief Perform an ERI write
|
||||
* @param addr : ERI register to write to
|
||||
* @param data : Value to write
|
||||
*
|
||||
* @return Value read
|
||||
*/
|
||||
void eri_write(int addr, uint32_t data);
|
||||
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user