Electronic Components Datasheet Search
  English  ▼

X  

ESP8266 Datasheet(PDF) 90 Page - ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD.

Part # ESP8266
Description  General Purpose Input/Output Interface (GPIO)
PDF  117 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ESPRESSIF [ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD.]
Direct Link  https://www.espressif.com/
Logo ESPRESSIF - ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD.

ESP8266 Datasheet(HTML) 90 Page - ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD.

Back Button ESP8266 Datasheet HTML 86Page - ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD. ESP8266 Datasheet HTML 87Page - ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD. ESP8266 Datasheet HTML 88Page - ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD. ESP8266 Datasheet HTML 89Page - ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD. ESP8266 Datasheet HTML 90Page - ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD. ESP8266 Datasheet HTML 91Page - ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD. ESP8266 Datasheet HTML 92Page - ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD. ESP8266 Datasheet HTML 93Page - ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD. ESP8266 Datasheet HTML 94Page - ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD. Next Button
Zoom Inzoom in Zoom Outzoom out
 90 / 117 page
background image
!
11. UART Introduction
PIN_FUNC_SELECT(PERIPHS_IO_MUX_MTCK_U, FUNC_U0CTS);
•
Hardware flow control in the receive direction can configure thresholds,when the
length of rx fifo is greater than the set threshold,U0RTS feet will be pulled to prevent
the other party sending.
Configured the thresholds of receiving flow control:
The threshold related configurations are generally defined in UART_CONF1 register.
#define UART_RX_FLOW_EN (BIT(23)) The 23rd bit enabled to receive flow control: 0:
disable; 1: enable
#define UART_RX_FLOW_THRHD 0x0000007F //Threshold, occupied 7bit, range 0 ~ 127
#define UART_RX_FLOW_THRHD_S 16 //Register offset is 16 (start from 16th bit)
•
Once configure enable of the flow control of sending direction configuration,the
register in UART_CONF0:
#define UART_TX_FLOW_EN (BIT(15)) Enable transmission flow control: 0: disable ; 1:
enable
•
Interface:
Void UART_SetFlowCtrl(uint8 uart_no,UART_HwFlowCtrl flow_ctrl,uint8 rx_thresh);
e)demo hardware board connections:
Need to connect the J68 (U0CTS) and J63 (U0RTS) jumper .
11.3.11.Other Interfaces
TX_FIFO_LEN(uart_no) //Macro definition, the current length of the transmit queue
RF_FIFO_LEN(uart_no) //Macro definition, the current length of the receiving queue
11.4. Configure Interrupt
Since all interrupt events will be conducted together in the "OR" operation before being
sent to the interrupt controller,UART can only generate an interrupt request each time.By
polling the interrupt state function UART_INT_ST (uart_no),software can deal with multiple
interrupt events in one interrupt service function(multiple if parallel statement).
11.4.1. Interrupt register
Interruption registers in UART:
UART_INT_RAW Interrupt the original status register
UART_INT_ENA Interrupt enable register: Indicates interrupt the current enable UART
UART_INT_ST Interrupt Status Register: Indicates the currently active interrupt status
UART_INT_CLR Clear Interrupt register:set the corresponding bit to clear the interrupt
status register
Espressif
! /!
82 104
2017.05



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com