Motore di ricerca datesheet componenti elettronici
  Italian  ▼
ALLDATASHEETIT.COM

X  

ESP8266 Scheda tecnica(PDF) 91 Page - ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD.

Il numero della parte ESP8266
Spiegazioni elettronici  General Purpose Input/Output Interface (GPIO)
PDF  117 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Produttore elettronici  ESPRESSIF [ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD.]
Homepage  https://www.espressif.com/
Logo ESPRESSIF - ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD.

ESP8266 Scheda tecnica(HTML) 91 Page - ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD.

Back Button 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. ESP8266 Datasheet HTML 95Page - ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD. Next Button
Zoom Inzoom in Zoom Outzoom out
 91 / 117 page
background image
!
11. UART Introduction
11.4.2. Interface
Open interrupt enable: UART_ENABLE_INTR_MASK(uart_no,ena_mask);
Close interrupt enable:
UART_DISABLE_INTR_MASK (uart_no,disable_mask);
Clear interrupt enable:
UART_CLR_INTR_STATUS_MASK(uart_no,clr_mask);
Get interrupt status UART_GET_INTR_STATUS(uart_no);
11.4.3. Interrupt Type
Receive full interrupt
Interrupt status bits:UART_RXFIFO_FULL_INT_ST
Definition: When configure threshold and enable interrupts, triggered will interrupt when rx
fifo data length is greater than the threshold.
Application:more applied in receiving UART data ,cooperating with flow control,dealing with
directly or posting messages or turn into buffer.For example,when the configuration of the
threshold is 100 and the enable full is interruption, the full will interrupt once the serial port
receive 100 Bytes.
Configure threshold value:
Full interrupt threshold
In the UART_CONF1 register
#define UART_RXFIFO_FULL_THRHD 0x0000007F //The threshold mask, 7bit long and
range 0 ~ 127
#define UART_RXFIFO_FULL_THRHD_S 0 //Shift register is 0 (start from 0bit)
Set enable to interrupt:
In UART_INT_ENA register
#define UART_RXFIFO_FULL_INT_ENA (BIT(0)) //full interrupt enable bit, 1: enable;0:
disable
clear interrupt status:
As for special full interrupts you need first to read all fifo received data empty, then write
the clear interruption status register.Otherwise, the interrupt status bit will be set again after
exit.
Please see details in examples of interrupt handling.
Receive overflow interrupt
Interrupt status bits:UART_RXFIFO_OVF_INT_ST
Espressif
! /!
83 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


Scheda tecnica Scarica

Go To PDF Page


Link URL



Lei ha avuto il aiuto da alldatasheet?  [ DONATE ] 

Di alldatasheet   |   Richest di pubblicita   |   contatti   |   Privacy Policy   |   Collegamento alla scheda tecnica    |   scambio Link   |   Ricerca produttore
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