mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-06-18 12:28:52 +08:00
sync: from 61124bba
1. driver: 1). Fix hw_timer issue, #96; 2). Fix SPI output data error; 3). Fix SPI read data bug; 4). Fix driver lib compile issue; 5). Fix uart flow control issue; 2. lwip: 1). Enable lwip ETHARP_TRUS_IP_MAC; 2). Modify dhcp/dhcps timer from 60 seconds to 1 second; 3. WiFi: 1). Support CSA;
This commit is contained in:
@ -44,11 +44,11 @@ extern "C" {
|
||||
/**
|
||||
* @brief Initialize the hardware ISR timer.
|
||||
*
|
||||
* @param uint8 req : 0, not autoload; 1, autoload mode.
|
||||
* @param null
|
||||
*
|
||||
* @return null
|
||||
*/
|
||||
void hw_timer_init(uint8 req);
|
||||
void hw_timer_init(void);
|
||||
|
||||
/**
|
||||
* @brief Set a trigger timer delay to enable this timer.
|
||||
@ -57,9 +57,20 @@ void hw_timer_init(uint8 req);
|
||||
* - In autoload mode, range : 50 ~ 0x7fffff
|
||||
* - In non-autoload mode, range : 10 ~ 0x7fffff
|
||||
*
|
||||
* @param uint8 req : 0, not autoload; 1, autoload mode.
|
||||
*
|
||||
* @return null
|
||||
*/
|
||||
void hw_timer_arm(uint32 val);
|
||||
void hw_timer_arm(uint32 val, bool req);
|
||||
|
||||
/**
|
||||
* @brief disable this timer.
|
||||
*
|
||||
* @param null
|
||||
*
|
||||
* @return null
|
||||
*/
|
||||
void hw_timer_disarm(void);
|
||||
|
||||
/**
|
||||
* @brief Set timer callback function.
|
||||
|
Reference in New Issue
Block a user