mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-11-03 08:31:44 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			20 lines
		
	
	
		
			331 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			331 B
		
	
	
	
		
			C
		
	
	
	
	
	
/*
 | 
						|
 * SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD
 | 
						|
 *
 | 
						|
 * SPDX-License-Identifier: Apache-2.0
 | 
						|
 */
 | 
						|
 | 
						|
#include <stddef.h>
 | 
						|
#include "hal/etm_hal.h"
 | 
						|
#include "hal/etm_ll.h"
 | 
						|
 | 
						|
void etm_hal_init(etm_hal_context_t *hal)
 | 
						|
{
 | 
						|
    hal->regs = &SOC_ETM;
 | 
						|
}
 | 
						|
 | 
						|
void etm_hal_deinit(etm_hal_context_t *hal)
 | 
						|
{
 | 
						|
    hal->regs = NULL;
 | 
						|
}
 |