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