This commit is contained in:
moyuhai
2026-06-12 09:12:35 +08:00
commit 02f1638ef2
91 changed files with 38366 additions and 0 deletions
+55
View File
@@ -0,0 +1,55 @@
C51 COMPILER V9.60.0.0 SYSTEM_CLOCK 03/28/2026 16:50:46 PAGE 1
C51 COMPILER V9.60.0.0, COMPILATION OF MODULE SYSTEM_CLOCK
OBJECT MODULE PLACED IN .\hex\system_clock.obj
COMPILER INVOKED BY: C:\keil5\C51\BIN\C51.EXE Library\Sources\system_clock.c OMF2 OPTIMIZE(9,SIZE) BROWSE DEBUG PRINT(.\
-lst\system_clock.lst) TABS(2) OBJECT(.\hex\system_clock.obj)
line level source
1 #ifndef _SYSTEM_CLOCK_C_
2 #define _SYSTEM_CLOCK_C_
3 /*********************************************************************************************************
-************/
4 #include "ca51f5_config.h"
5 #include "../../includes/ca51f5sfr.h"
6 #include "../../includes/ca51f5xsfr.h"
7 #include "../../includes/gpiodef_f5.h"
8
9 #include "../../includes/system.h"
10 #include "../../Library/includes/system_clock.h"
11 #include <intrins.h>
12 /*********************************************************************************************************
-************/
13 void Sys_Clk_Set_IRCH(void)
14 {
15 1 CKCON |= IHCKE;
16 1 CKCON = (CKCON&0xFE) | CKSEL_IRCH;
17 1 }
18 void Sys_Clk_Set_IRCL(void)
19 {
20 1 CKCON |= ILCKE;
21 1 CKCON = (CKCON&0xFE) | CKSEL_IRCL;
22 1 }
23 /*********************************************************************************************************
-************/
24 #endif
MODULE INFORMATION: STATIC OVERLAYABLE
CODE SIZE = 26 ----
CONSTANT SIZE = ---- ----
XDATA SIZE = ---- ----
PDATA SIZE = ---- ----
DATA SIZE = ---- ----
IDATA SIZE = ---- ----
BIT SIZE = ---- ----
EDATA SIZE = ---- ----
HDATA SIZE = ---- ----
XDATA CONST SIZE = ---- ----
FAR CONST SIZE = ---- ----
END OF MODULE INFORMATION.
C51 COMPILATION COMPLETE. 0 WARNING(S), 0 ERROR(S)