mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-11-03 16:41:44 +01:00 
			
		
		
		
	
		
			
	
	
		
			17 lines
		
	
	
		
			333 B
		
	
	
	
		
			C
		
	
	
	
	
	
		
		
			
		
	
	
			17 lines
		
	
	
		
			333 B
		
	
	
	
		
			C
		
	
	
	
	
	
| 
								 | 
							
								/*
							 | 
						||
| 
								 | 
							
								 * SPDX-FileCopyrightText: 2015-2022 Espressif Systems (Shanghai) CO LTD
							 | 
						||
| 
								 | 
							
								 *
							 | 
						||
| 
								 | 
							
								 * SPDX-License-Identifier: Apache-2.0
							 | 
						||
| 
								 | 
							
								 */
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								// The HAL layer for sigma delta modulator (common part)
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								#include "hal/sdm_ll.h"
							 | 
						||
| 
								 | 
							
								#include "hal/sdm_hal.h"
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								void sdm_hal_init(sdm_hal_context_t *hal, int group_id)
							 | 
						||
| 
								 | 
							
								{
							 | 
						||
| 
								 | 
							
								    (void) group_id;
							 | 
						||
| 
								 | 
							
								    hal->dev = &SDM;
							 | 
						||
| 
								 | 
							
								}
							 |