Go to the source code of this file.
|
| void | tcp_echo_init (void) |
| | TCP initialization, binding IP address and port number. ;TCP初始化,绑定IP地址和端口号。 More...
|
| |
| void | tcp_poll_handle (void) |
| | Sending data using polling.Firstly, determine the values of adc_done[0] and adc_done[0]. If both are 1, it indicates that the data was not sent in a timely manner. If adc_done[0] is 1, set adc_done[0] to 0 and send the first half of the buff data; If adc_done[1] is 1, set adc_done[1] to 0 and send the second half of the buff data; ;LWIP将ADC的采样结果通过polling的方式发送出去,首先判断 adc_done[0]和adc_done[1]的值,如果同为1,表示数据未能及时发送。 若adc_done[0]为1,将adc_done[0]置0并发送adc_buff的前半部分数据; 若adc_done[1]为1,将adc_done[1]置0并发送adc_buff的前后半部分数据 More...
|
| |