| Electronic Components Datasheet Search |
|
STC12LE5616AD Datasheet(PDF) 217 Page - STCmicro Technology Co,.Ltd |
|
|
|||||||||||||||||||||||||||||
STC12LE5616AD Datasheet(HTML) 217 Page - STCmicro Technology Co,.Ltd |
|
217 / 377 page ![]() ODD1INACC: #if (PARITYBIT == ODD_PARITY) CLR TB8 ;Set parity bit to 0 #elif (PARITYBIT == EVEN_PARITY) SETB TB8 ;Set parity bit to 1 #endif SJMP PARITYBITOK EVEN1INACC: #if (PARITYBIT == ODD_PARITY) SETB TB8 ;Set parity bit to 1 #elif (PARITYBIT == EVEN_PARITY) CLR TB8 ;Set parity bit to 0 #endif PARITYBITOK: ;Parity bit set completed SETB BUSY MOV SBUF, A ;Send data to UART buffer RET ;/*---------------------------- ;Send a string to UART ;Input: DPTR (address of string) ;Output:None ;----------------------------*/ SENDSTRING: CLR A MOVC A, @A+DPTR ;Get current char JZ STRINGEND ;Check the end of the string INC DPTR ;increment string ptr LCALL SENDDATA ;Send current char SJMP SENDSTRING ;Check next STRINGEND: RET ;----------------------------------------- END 217 |
|
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 |