mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-11-03 22:08:28 +00:00 
			
		
		
		
	Added doxygen Refactored driver to malloc trans_elm memory when registering the client Cleaned up driver Added API check One client now only responsible for one operation
		
			
				
	
	
		
			20 lines
		
	
	
		
			334 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			334 B
		
	
	
	
		
			C
		
	
	
	
	
	
/*
 | 
						|
 * SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD
 | 
						|
 *
 | 
						|
 * SPDX-License-Identifier: Apache-2.0
 | 
						|
 */
 | 
						|
 | 
						|
#include <stddef.h>
 | 
						|
#include "hal/ppa_hal.h"
 | 
						|
#include "hal/ppa_ll.h"
 | 
						|
 | 
						|
void ppa_hal_init(ppa_hal_context_t *hal)
 | 
						|
{
 | 
						|
    hal->dev = PPA_LL_GET_HW;
 | 
						|
}
 | 
						|
 | 
						|
void ppa_hal_deinit(ppa_hal_context_t *hal)
 | 
						|
{
 | 
						|
    hal->dev = NULL;
 | 
						|
}
 |