⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cpu.lst

📁 非常全的nrf2401设计资料
💻 LST
字号:
C51 COMPILER V7.50   CPU                                                                   04/09/2009 10:12:52 PAGE 1   


C51 COMPILER V7.50, COMPILATION OF MODULE CPU
OBJECT MODULE PLACED IN .\build\cpu.obj
COMPILER INVOKED BY: C:\Keil\C51\BIN\C51.EXE ..\..\..\..\arch\nrf24lu1\cpu.c LARGE OMF2 OPTIMIZE(9,SPEED) BROWSE INCDIR(
                    -..\common;..\..\..\..\comp\protocol\wdp\common\;..\..\..\..\comp\protocol\wdp\host\;..\..\..\..\arch\hal\include;..\..\.
                    -.\..\arch\hal\nrf24lu1;..\..\..\..\arch\nrf24lu1;..\common;..\..\..\..\comp\protocol\fap) DEBUG PRINT(.\lst\cpu.lst) OBJ
                    -ECT(.\build\cpu.obj)

line level    source

   1          /* Copyright (c) 2007 Nordic Semiconductor. All Rights Reserved.
   2           *
   3           * The information contained herein is property of Nordic Semiconductor ASA.
   4           * Terms and conditions of usage are described in detail in NORDIC
   5           * SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT. 
   6           *
   7           * Licensees are granted free, non-transferable use of the information. NO
   8           * WARRENTY of ANY KIND is provided. This heading must NOT be removed from
   9           * the file.
  10           *
  11           * $LastChangedRevision: 2290 $
  12           */ 
  13          
  14          /** @file
  15           * Implementation of the CPU module for nRF24LU1.
  16           * @author Ole Saether
  17           */
  18          
  19          
  20          #include <Nordic\reg24lu1.h>
  21          #include "nordic_common.h"
  22          #include "cpu.h"
  23          
  24          void cpu_pwr_down(void)
  25          {
  26   1        PWRDWN = 1;
  27   1      }
  28          
  29          void cpu_set_clock_frequency(uint8_t cf)
  30          {
  31   1        uint8_t temp = CLKCTL;
  32   1      
  33   1        // Clock frequnecy is defined by bits 6-4 in CLKCTL
  34   1        temp &= ~(BIT_6 | BIT_5 | BIT_4);
  35   1        temp |= cf & (BIT_6 | BIT_5 | BIT_4);
  36   1        
  37   1        F0 = EA;
  38   1        EA = 0;
  39   1        CLKCTL = temp;
  40   1        EA = F0;
  41   1      }
  42          


MODULE INFORMATION:   STATIC OVERLAYABLE
   CODE SIZE        =     27    ----
   CONSTANT SIZE    =   ----    ----
   XDATA SIZE       =   ----    ----
   PDATA SIZE       =   ----    ----
   DATA SIZE        =   ----    ----
   IDATA SIZE       =   ----    ----
   BIT SIZE         =   ----    ----
C51 COMPILER V7.50   CPU                                                                   04/09/2009 10:12:52 PAGE 2   

   EDATA SIZE       =   ----    ----
   HDATA SIZE       =   ----    ----
   XDATA CONST SIZE =   ----    ----
   FAR CONST SIZE   =   ----    ----
END OF MODULE INFORMATION.


C51 COMPILATION COMPLETE.  0 WARNING(S),  0 ERROR(S)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -