| Electronic Components Datasheet Search |
|
ESP8266 Datasheet(PDF) 88 Page - ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD. |
|
|
|||||||||||||||||||||||||||||
ESP8266 Datasheet(HTML) 88 Page - ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD. |
|
88 / 117 page ![]() ! 11. UART Introduction Interface: void UART_SetBaudrate (uint8 uart_no,uint32 baud_rate); 11.3.2. Parity Bit #define UART_PARITY_EN (BIT(1)) Enable check: 1: enable; 0: disable #define UART_PARITY (BIT(0)) Check type setting 1: Odd parity; 0: Even parity Interface: void UART_SetParity(uint8 uart_no, UartParityMode Parity_mode); 11.3.3. Data Bit #define UART_BIT_NUM 0x00000003 //Length of data bit occupies two bit: Setting these two bit can configure data length 0: 5bit ; 1: 6bit ; 2: 7bit ; 3: 8bit #define UART_BIT_NUM_S 2 //Offset register is 2 (2 bit start) Interface: void UART_SetWordLength(uint8 uart_no, UartBitsNum4Char len) 11.3.4. Stop Bit #define UART_STOP_BIT_NUM 0x00000003 //The length of data bit occupies two bit: Configure the length of stop bits through setting these two bit can 1 : 1 bit ; 2 : 1.5 bit ; 3 : 2 bit #define UART_STOP_BIT_NUM_S 4 //Register offset is 4 (start from 4th bit) Interface: void UART_SetStopBits(uint8 uart_no, UartStopBitsNum bit_num); 11.3.5. Inverting Each input and output UART signals can reverse configuration internal. #define UART_DTR_INV (BIT(24)) #define UART_RTS_INV (BIT(23)) #define UART_TXD_INV (BIT(22)) #define UART_DSR_INV (BIT(21)) #define UART_CTS_INV (BIT(20)) #define UART_RXD_INV (BIT(19)) Set the corresponding register,you can reverse the corresponding signal line input / output. Interface: void UART_SetLineInverse (uint8 uart_no, UART_LineLevelInverse inverse_mask); Espressif ! /! 80 104 2017.05 |
|
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 |
| 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 |