mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-11-03 22:08:28 +00:00 
			
		
		
		
	Apply the pre-commit hook whitespace fixes to all files in the repo. (Line endings, blank lines at end of file, trailing whitespace)
		
			
				
	
	
		
			32 lines
		
	
	
		
			565 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			565 B
		
	
	
	
		
			C
		
	
	
	
	
	
#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
 |