| Datenblatt-Suchmaschine für elektronische Bauteile |
|
STC89LE53RC Datenblatt(PDF) 97 Page - STCmicro Technology Co,.Ltd |
|
|
|||||||||||||||||||||||||||||
STC89LE53RC Datenblatt(HTML) 97 Page - STCmicro Technology Co,.Ltd |
|
97 / 165 page ![]() The following program is a assembly language code that domestrates Timer 1 of STC89xx series MCU acted as baud rate generator. ;/*------------------------------------------------------------------------------------------------------------*/ ;/* --- STC MCU International Limited ----------------------------------------------------------------*/ ;/* --- STC 89xx Series MCU Timer 1 acted as Baud Rate Generoter Demo ------------------------*/ ;/* If you want to use the program or the program referenced in the */ ;/* article, please specify in which data and procedures from STC */ ;/*--------------------------------------------------------------------------------------------------------------*/ ;Declare STC89xx series MCU SFR AUXR EQU 8EH ;*/--------------------------------------------------------------------------------------------------------------*/ ;Define baud rate auto-reload counter ;**************************************************************************** ;The following Reload-Count and Baud is based on SYSclk =22.1184MHz, 1T mode, SMOD=1 ;RELOAD_COUNT EQU 0FFH ;Baud=1,382,400 bps ;RELOAD_COUNT EQU 0FEH ;Baud=691,200 bps ;RELOAD_COUNT EQU 0FDH ;Baud=460,800 bps ;RELOAD_COUNT EQU 0FCH ;Baud=345,600 bps ;RELOAD_COUNT EQU 0FBH ;Baud=276,480 bps ;RELOAD_COUNT EQU 0FAH ;Baud=230,400 bps ;RELOAD_COUNT EQU 0F4H ;Baud=115,200 bps ;RELOAD_COUNT EQU 0E8H ;Baud=57,600 bps ;RELOAD_COUNT EQU 0DCH ;Baud=38,400 bps ;RELOAD_COUNT EQU 0B8H ;Baud=19,200 bps ;RELOAD_COUNT EQU 70H ;Baud=9,600 bps ;******************************************************************************* ;The following Reload-Count and Baud is based on SYSclk =1.8432MHz, 1T mode, SMOD=1 ;RELOAD_COUNT EQU 0FFH ;Baud=115,200 bps ;RELOAD_COUNT EQU 0FEH ;Baud=57,600 bps ;RELOAD_COUNT EQU 0FDH ;Baud=38,400 bps ;RELOAD_COUNT EQU 0FCH ;Baud=28,800 bps ;RELOAD_COUNT EQU 0FAH ;Baud=19,200 bps ;RELOAD_COUNT EQU 0F4H ;Baud=9,600 bps ;RELOAD_COUNT EQU 0E8H ;Baud=4,800 bps ;RELOAD_COUNT EQU 0D0H ;Baud=2,400 bps ;RELOAD_COUNT EQU 0A0H ;Baud=1,200 bps ;******************************************************************************** ;The following Reload-Count and Baud is based on SYSclk =18.432MHz, 1T mode, SMOD=1 ;RELOAD_COUNT EQU 0FFH ;Baud=1,152,000 bps ;RELOAD_COUNT EQU 0FEH ;Baud=576,000 bps ;RELOAD_COUNT EQU 0FDH ;Baud=288,000 bps ;RELOAD_COUNT EQU 0FCH ;Baud=144,000 bps ;RELOAD_COUNT EQU 0F6H ;Baud=115,200 bps ;RELOAD_COUNT EQU 0ECH ;Baud=57,600 bps 97 |
|
Link URL |
| War ALLDATASHEET hilfreich? [ DONATE ] |
Über Alldatasheet | Werbung | Kontakt | Privatsphäre und Datenschutz | Link zum Datenblatt | Linktausch | Hersteller 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 |