| Electronic Components Datasheet Search |
|
STC12LE5604 Datasheet(PDF) 32 Page - STCmicro Technology Co,.Ltd |
|
|
|||||||||||||||||||||||||||||
STC12LE5604 Datasheet(HTML) 32 Page - STCmicro Technology Co,.Ltd |
|
32 / 377 page ![]() 2.1.3 How to Know Internal RC Oscillator frequency(Internal clock frequency) STC 1T MCU 12C5620AD series in addition to traditional external clock, but also the option of using the internal RC oscillator clock source. If select internal RC oscillator, external crystal can be saved. XTAL1 and XTAL2 floating. Relatively large errors due to internal clock, so high requirements on the timing or circumstances have serial communication is not recommended to use the internal oscillator. User can use “MOV @Ri” instruction read RAM unit FC~FF to get the internal oscillator frequency of the factory and read RAM unit F8~FB to get internal oscillator frequency of last used to download programs within the internal oscillator after power on. //The following example program written by C language is to read internal R/C clock frequency /*----------------------------------------------------------------------------------*/ /* --- STC MCU International Limited -------------------------------------*/ /* If you want to use the program or the program referenced in the --*/ /* article, please specify in which data and procedures from STC --*/ /*---------------------------------------------------------------------------------*/ #include<reg51.h> #include<intrins.h> sfr ISP_CONTR = 0xE7; sbit MCU_Start_Led = P1^7; //unsigned char self_command_array[4] = {0x22,0x33,0x44,0x55}; #define Self_Define_ISP_Download_Command 0x22 #define RELOAD_COUNT 0xfb //18.432MHz,12T,SMOD=0,9600bps void serial_port_initial(); void send_UART(unsigned char); void UART_Interrupt_Receive(void); void soft_reset_to_ISP_Monitor(void); void delay(void); void display_MCU_Start_Led(void); void main(void) { unsigned char i = 0; unsigned char j = 0; unsigned char idata *idata_point; 32 |
|
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 |