mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
346bc077c5
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;
|
|
}
|