feat(global): add macros for GPIO->channel lookup

including: macros for dac, adc, touch, rtc_gpio, uart and clk_out.

TW#13970
This commit is contained in:
michael
2017-08-29 15:52:04 +08:00
parent 4809c70899
commit 08b9fbc242
17 changed files with 409 additions and 39 deletions

View File

@@ -32,6 +32,7 @@ extern "C" {
#include "freertos/queue.h"
#include "freertos/ringbuf.h"
#include <esp_types.h>
#include "soc/uart_channel.h"
#define UART_FIFO_LEN (128) /*!< Length of the hardware FIFO buffers */
#define UART_INTR_MASK 0x1ff /*!< mask of all UART interrupts */