esp-idf/components/hal/parlio_hal.c

21 lines
374 B
C
Raw Normal View History

2022-12-05 22:57:43 -05:00
/*
* SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <stdlib.h>
2022-12-05 22:57:43 -05:00
#include <stddef.h>
#include "hal/parlio_hal.h"
#include "hal/parlio_ll.h"
void parlio_hal_init(parlio_hal_context_t *hal)
{
hal->regs = &PARL_IO;
}
void parlio_hal_deinit(parlio_hal_context_t *hal)
{
hal->regs = NULL;
}