init
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
C51 COMPILER V9.60.7.0 SYSTEM_CLOCK 07/03/2025 11:27:48 PAGE 1
|
||||
|
||||
|
||||
C51 COMPILER V9.60.7.0, COMPILATION OF MODULE SYSTEM_CLOCK
|
||||
OBJECT MODULE PLACED IN .\hex\system_clock.obj
|
||||
COMPILER INVOKED BY: D:\Program Files\Keil_v5\C51\BIN\C51.EXE Library\Sources\system_clock.c OMF2 OPTIMIZE(9,SIZE) BROWS
|
||||
-E 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)
|
||||
Reference in New Issue
Block a user