examples: added support of ESP32-S3 chip in controller_hci_uart example

This commit is contained in:
wangmengyang
2021-08-26 14:24:32 +08:00
parent da12db2904
commit c053ef0541
5 changed files with 165 additions and 10 deletions

View File

@@ -18,9 +18,13 @@
#pragma once
#include <stdio.h>
#include "uhci_types.h"
#include "hal/uhci_types.h"
#include "soc/uhci_struct.h"
#ifdef __cplusplus
extern "C" {
#endif
#define UHCI_LL_GET_HW(num) (((num) == 0) ? (&UHCI0) : (NULL))
typedef enum {
@@ -128,3 +132,7 @@ static inline void uhci_ll_set_eof_mode(uhci_dev_t *hw, uint32_t eof_mode)
hw->conf0.len_eof_en = 1;
}
}
#ifdef __cplusplus
}
#endif