hal_nrf_hw.lst

来自「非常全的nrf2401设计资料」· LST 代码 · 共 65 行

LST
65
字号
C51 COMPILER V7.50   HAL_NRF_HW                                                            04/09/2009 10:12:52 PAGE 1   


C51 COMPILER V7.50, COMPILATION OF MODULE HAL_NRF_HW
OBJECT MODULE PLACED IN .\build\hal_nrf_hw.obj
COMPILER INVOKED BY: C:\Keil\C51\BIN\C51.EXE ..\..\..\..\arch\hal\nrf24lu1\hal_nrf_hw.c LARGE OMF2 OPTIMIZE(9,SPEED) BRO
                    -WSE INCDIR(..\common;..\..\..\..\comp\protocol\wdp\common\;..\..\..\..\comp\protocol\wdp\host\;..\..\..\..\arch\hal\incl
                    -ude;..\..\..\..\arch\hal\nrf24lu1;..\..\..\..\arch\nrf24lu1;..\common;..\..\..\..\comp\protocol\fap) DEBUG PRINT(.\lst\h
                    -al_nrf_hw.lst) OBJECT(.\build\hal_nrf_hw.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 #hal_nrf_rw.
  16           * #hal_nrf_rw is an SPI function which is hardware dependent. This file
  17           * contains an implementation for nRF24LU1.
  18           */
  19          
  20          #include <Nordic\reg24lu1.h>
  21          #include <stdint.h>
  22          #include "hal_nrf.h"
  23          
  24          uint8_t hal_nrf_rw(uint8_t value)
  25          {
  26   1        RFDAT = value;
  27   1        RFSPIF = 0;     // ! IMPORTANT ! Clear RF SPI ready flag
  28   1                        // after data written to RFDAT..
  29   1        while(!RFSPIF); // wait for byte transfer finished
  30   1          ;
  31   1        return RFDAT;   // return SPI read value
  32   1      }
  33          
  34          


MODULE INFORMATION:   STATIC OVERLAYABLE
   CODE SIZE        =     10    ----
   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)

⌨️ 快捷键说明

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