摘要:
/** * @brief UART configuration parameters for uart_param_config function */ typedef struct { int baud_rate; /*!< UART baud rate*/ uart_word_length_t 阅读全文
posted @ 2022-02-22 19:55
lishengaha
阅读(1020)
评论(0)
推荐(0)
摘要:
typedef struct { timer_alarm_t alarm_en; /*!< Timer alarm enable */ timer_start_t counter_en; /*!< Counter enable */ timer_intr_mode_t intr_type; /*!< 阅读全文
posted @ 2022-02-21 03:31
lishengaha
阅读(1059)
评论(0)
推荐(0)
摘要:
typedef struct { uint64_t pin_bit_mask; /*!< GPIO pin: set with bit mask, each bit maps to a GPIO */ gpio_mode_t mode; /*!< GPIO mode: set input/outpu 阅读全文
posted @ 2022-02-21 00:32
lishengaha
阅读(783)
评论(0)
推荐(0)
摘要:
1 xTaskCreate( vTaskCode, "NAME", STACK_SIZE, &ucParameterToPass, tskIDLE_PRIORITY, &xHandle ); 创建任务,具体参数有任务函数入口指针即函数名,任务名字,分配栈大小,任务函数参数,任务优先级,任务句柄等参数 阅读全文
posted @ 2022-02-20 02:39
lishengaha
阅读(802)
评论(0)
推荐(0)
摘要:
1 #define EXAMPLE_ESP_WIFI_SSID "111" 2 #define EXAMPLE_ESP_WIFI_PASS "19890813" 3 #define EXAMPLE_ESP_MAXIMUM_RETRY 5 需要设置的宏定义,wifi名称,wifi密码,最大尝试次数,在 阅读全文
posted @ 2022-02-19 01:43
lishengaha
阅读(207)
评论(0)
推荐(0)
摘要:
1 typedef union { 2 wifi_ap_config_t ap; /**< configuration of AP */ 3 wifi_sta_config_t sta; /**< configuration of STA */ 4 } wifi_config_t; wifi初始化结 阅读全文
posted @ 2022-02-18 13:10
lishengaha
阅读(277)
评论(0)
推荐(0)