mbed-os
Fork of mbed-os by
targets/TARGET_ONSEMI/TARGET_NCS36510/rfAna.h@1:3deb71413561, 2017-07-20 (annotated)
- Committer:
- xuaner
- Date:
- Thu Jul 20 14:26:57 2017 +0000
- Revision:
- 1:3deb71413561
- Parent:
- 0:f269e3021894
mbed_os
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
elessair | 0:f269e3021894 | 1 | /** |
elessair | 0:f269e3021894 | 2 | ****************************************************************************** |
elessair | 0:f269e3021894 | 3 | * @file rfAna.h |
elessair | 0:f269e3021894 | 4 | * @brief Header of rfAna hw module functions |
elessair | 0:f269e3021894 | 5 | * @internal |
elessair | 0:f269e3021894 | 6 | * @author ON Semiconductor |
elessair | 0:f269e3021894 | 7 | * $Rev: 2848 $ |
elessair | 0:f269e3021894 | 8 | * $Date: 2014-04-01 22:48:18 +0530 (Tue, 01 Apr 2014) $ |
elessair | 0:f269e3021894 | 9 | ****************************************************************************** |
elessair | 0:f269e3021894 | 10 | * Copyright 2016 Semiconductor Components Industries LLC (d/b/a ON Semiconductor). |
elessair | 0:f269e3021894 | 11 | * All rights reserved. This software and/or documentation is licensed by ON Semiconductor |
elessair | 0:f269e3021894 | 12 | * under limited terms and conditions. The terms and conditions pertaining to the software |
elessair | 0:f269e3021894 | 13 | * and/or documentation are available at http://www.onsemi.com/site/pdf/ONSEMI_T&C.pdf |
elessair | 0:f269e3021894 | 14 | * (ON Semiconductor Standard Terms and Conditions of Sale, Section 8 Software) and |
elessair | 0:f269e3021894 | 15 | * if applicable the software license agreement. Do not use this software and/or |
elessair | 0:f269e3021894 | 16 | * documentation unless you have carefully read and you agree to the limited terms and |
elessair | 0:f269e3021894 | 17 | * conditions. By using this software and/or documentation, you agree to the limited |
elessair | 0:f269e3021894 | 18 | * terms and conditions. |
elessair | 0:f269e3021894 | 19 | * |
elessair | 0:f269e3021894 | 20 | * THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED |
elessair | 0:f269e3021894 | 21 | * OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF |
elessair | 0:f269e3021894 | 22 | * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. |
elessair | 0:f269e3021894 | 23 | * ON SEMICONDUCTOR SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, |
elessair | 0:f269e3021894 | 24 | * INCIDENTAL, OR CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER. |
elessair | 0:f269e3021894 | 25 | * @endinternal |
elessair | 0:f269e3021894 | 26 | * |
elessair | 0:f269e3021894 | 27 | * @ingroup rfAna |
elessair | 0:f269e3021894 | 28 | */ |
elessair | 0:f269e3021894 | 29 | |
elessair | 0:f269e3021894 | 30 | #ifndef RFANA_H_ |
elessair | 0:f269e3021894 | 31 | #define RFANA_H_ |
elessair | 0:f269e3021894 | 32 | |
elessair | 0:f269e3021894 | 33 | /************************************************************************************************* |
elessair | 0:f269e3021894 | 34 | * * |
elessair | 0:f269e3021894 | 35 | * Header files * |
elessair | 0:f269e3021894 | 36 | * * |
elessair | 0:f269e3021894 | 37 | *************************************************************************************************/ |
elessair | 0:f269e3021894 | 38 | |
elessair | 0:f269e3021894 | 39 | #include "types.h" |
elessair | 0:f269e3021894 | 40 | |
elessair | 0:f269e3021894 | 41 | /************************************************************************************************* |
elessair | 0:f269e3021894 | 42 | * * |
elessair | 0:f269e3021894 | 43 | * Symbolic Constants * |
elessair | 0:f269e3021894 | 44 | * * |
elessair | 0:f269e3021894 | 45 | *************************************************************************************************/ |
elessair | 0:f269e3021894 | 46 | |
elessair | 0:f269e3021894 | 47 | /** Miscellaneous I/O codes / |
elessair | 0:f269e3021894 | 48 | * @details |
elessair | 0:f269e3021894 | 49 | */ |
elessair | 0:f269e3021894 | 50 | #define SET_RF_CHANNEL (0x0) /**< <b>Ioctl request code</b>: Set Rf channel frequency */ |
elessair | 0:f269e3021894 | 51 | #define SET_TX_POWER (0x1) /**< <b>Ioctl request code</b>: Set Tx output power */ |
elessair | 0:f269e3021894 | 52 | |
elessair | 0:f269e3021894 | 53 | /************************************************************************************************* |
elessair | 0:f269e3021894 | 54 | * * |
elessair | 0:f269e3021894 | 55 | * Functions * |
elessair | 0:f269e3021894 | 56 | * * |
elessair | 0:f269e3021894 | 57 | *************************************************************************************************/ |
elessair | 0:f269e3021894 | 58 | |
elessair | 0:f269e3021894 | 59 | /** Function to initialize rfAna |
elessair | 0:f269e3021894 | 60 | * @details |
elessair | 0:f269e3021894 | 61 | */ |
elessair | 0:f269e3021894 | 62 | void fRfAnaInit(void); |
elessair | 0:f269e3021894 | 63 | |
elessair | 0:f269e3021894 | 64 | /** Function for miscellaneous I/O and control operations on rfAna |
elessair | 0:f269e3021894 | 65 | * @details |
elessair | 0:f269e3021894 | 66 | */ |
elessair | 0:f269e3021894 | 67 | boolean fRfAnaIoctl (uint32_t request, void *argument); |
elessair | 0:f269e3021894 | 68 | |
elessair | 0:f269e3021894 | 69 | #endif /* RFANA_H_ */ |