Both_Way_Comm_SY8833/Project/Listings/gpio.lst

101 lines
4.2 KiB
Plaintext
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

C51 COMPILER V9.57.0.0 GPIO 06/14/2024 11:08:36 PAGE 1
C51 COMPILER V9.57.0.0, COMPILATION OF MODULE GPIO
OBJECT MODULE PLACED IN .\Objects\gpio.obj
COMPILER INVOKED BY: D:\Keil_v5\C51\BIN\C51.EXE ..\UsrSrc\gpio\gpio.c ROM(COMPACT) OPTIMIZE(9,SIZE) BROWSE INCDIR(..\Usr
-Inc\adc;..\UsrInc\charger;..\UsrInc\discharge;..\UsrInc\gpio;..\UsrInc\hall;..\UsrInc\i2c_simu;..\UsrInc\inc;..\UsrInc\k
-ey;..\UsrInc\led;..\UsrInc\mtp;..\UsrInc\pwm;..\UsrInc\sleep;..\UsrInc\system;..\UsrInc\uart;..\UsrInc\userapp;..\UsrInc
-\vox;..\UsrInc\vox_comm;..\UsrInc\watchdog;..\UsrInc\bat;..\UsrInc\timer) DEBUG OBJECTEXTEND CODE PRINT(.\Listings\gpio.
-lst) TABS(2) OBJECT(.\Objects\gpio.obj)
line level source
1 /*
2 ******************************************************************************
3 *
4 * @file gpio.c
5 * @brief gpio module
6 * @ic TP3102
7 *
8 * @version 1.0
9 * @date 2022/08/05 15:00:40
10 * @author Alex Xu
11 *
12 * Copyright (c) 2013-2099,Tkplusemi Technology Co.,Ltd.
13 * All Rights Reserved
14 *
15 * History:
16 * Revision Date Author Desc
17 * 1.0.0 2022/08/05 Alex build this file
18 ******************************************************************************/
19 /*_____ I N C L U D E S ____________________________________________________*/
20 #include "gpio.h"
21 #include "sleep.h"
22 #include "userapp.h"
23 #include "led.h"
24
25
26 /******************************************************************************\
27 Macro definitions
28 \******************************************************************************/
29
30 /******************************************************************************\
31 Variables definitions
32 \******************************************************************************/
33 //uint8_t System_Rst_Cnt = 0; //ϵͳ<CFB5><CDB3><EFBFBD><EFBFBD>λ<EFBFBD><CEBB>ʱ<EFBFBD><CAB1>
34
35 /******************************************************************************\
36 Functions definitions
37 \******************************************************************************/
38
39 /*
40 *******************************************************************************
41 * void Gpio_Init(void)
42 *
43 * Description : gpio Initialization. --- ϵͳ<CFB5><CDB3>ʼ<EFBFBD><CABC><EFBFBD><EFBFBD><EFBFBD>á<EFBFBD>
44 *
45 * Arguments :
46
47 * Returns :
48
49 * Notes :
50 *
51 *******************************************************************************
C51 COMPILER V9.57.0.0 GPIO 06/14/2024 11:08:36 PAGE 2
52 */
53 #if 0
void GPIO_Init(void)
{
/* GPIO */
// SFRADDR = P0_OE;
// SFRDATA |= 0x1C; //P02,P03,P04<30><34><EFBFBD>ó<EFBFBD><C3B3><EFBFBD><EFBFBD><EFBFBD>ģʽ
SFRADDR = P1_OE;
SFRDATA = 0x01;
}
#endif
65
66
C51 COMPILER V9.57.0.0 GPIO 06/14/2024 11:08:36 PAGE 3
ASSEMBLY LISTING OF GENERATED OBJECT CODE
MODULE INFORMATION: STATIC OVERLAYABLE
CODE SIZE = ---- ----
CONSTANT SIZE = ---- ----
XDATA SIZE = ---- ----
PDATA SIZE = ---- ----
DATA SIZE = ---- ----
IDATA SIZE = ---- ----
BIT SIZE = ---- ----
END OF MODULE INFORMATION.
C51 COMPILATION COMPLETE. 0 WARNING(S), 0 ERROR(S)