From 2b40605dbb9622b2099f7c4c6a628e40cd17e805 Mon Sep 17 00:00:00 2001 From: chen <15335560115@163.com> Date: 星期四, 29 五月 2025 18:11:01 +0800 Subject: [PATCH] 基本完成免布线基站测试固件,功耗升级等未测试 --- pin_config.c | 20 ++++++++++++-------- 1 files changed, 12 insertions(+), 8 deletions(-) diff --git a/pin_config.c b/pin_config.c index 142d3b6..8afd207 100644 --- a/pin_config.c +++ b/pin_config.c @@ -47,15 +47,19 @@ io_pin_mux_set(IO_PIN_5, IO_FUNC4); io_pin_mux_set(IO_PIN_6, IO_FUNC4); + io_pin_mux_set(IO_PIN_9, IO_FUNC6); + io_pin_mux_set(IO_PIN_10, IO_FUNC6); - + +// io_pull_set(IO_PIN_9 , IO_PULL_DOWN, IO_PULL_UP_LEVEL3); +// io_pull_set(IO_PIN_10 , IO_PULL_DOWN, IO_PULL_UP_LEVEL3); //io_pin_mux_set(IO_PIN_6, IO_FUNC4); - // UART1 RX/TX已修改复用引脚为ADC留出空间 - io_pin_mux_set(IO_PIN_10, IO_FUNC4); - io_pin_mux_set(IO_PIN_9, IO_FUNC4); - - // Single ADC, If IO0 is set to negative input, the positive input is Vref, and vice versa - io_pin_mux_set(IO_PIN_0, IO_FUNC1); - io_pull_set(IO_PIN_0, IO_HIGH_Z, IO_PULL_UP_NONE); +// // UART1 RX/TX已修改复用引脚为ADC留出空间 +// io_pin_mux_set(IO_PIN_10, IO_FUNC4); +// io_pin_mux_set(IO_PIN_9, IO_FUNC4); +// +// // Single ADC, If IO0 is set to negative input, the positive input is Vref, and vice versa +// io_pin_mux_set(IO_PIN_0, IO_FUNC1); +// io_pull_set(IO_PIN_0, IO_HIGH_Z, IO_PULL_UP_NONE); } -- Gitblit v1.9.3