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.
Dependents: STM32_F103-C8T6basecanblink_led
Fork of mbed-dev by
Diff: targets/TARGET_ONSEMI/TARGET_NCS36510/trim_map.h
- Revision:
- 149:156823d33999
- Child:
- 150:02e0a0aed4ec
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/targets/TARGET_ONSEMI/TARGET_NCS36510/trim_map.h Fri Oct 28 11:17:30 2016 +0100
@@ -0,0 +1,133 @@
+/**
+******************************************************************************
+* @file trim_map.h
+* @brief trim register map
+* @internal
+* @author ON Semiconductor
+* $Rev: 3727 $
+* $Date: 2015-09-14 14:38:34 +0530 (Mon, 14 Sep 2015) $
+******************************************************************************
+ * Copyright 2016 Semiconductor Components Industries LLC (d/b/a ON Semiconductor).
+ * All rights reserved. This software and/or documentation is licensed by ON Semiconductor
+ * under limited terms and conditions. The terms and conditions pertaining to the software
+ * and/or documentation are available at http://www.onsemi.com/site/pdf/ONSEMI_T&C.pdf
+ * (ON Semiconductor Standard Terms and Conditions of Sale, Section 8 Software) and
+ * if applicable the software license agreement. Do not use this software and/or
+ * documentation unless you have carefully read and you agree to the limited terms and
+ * conditions. By using this software and/or documentation, you agree to the limited
+ * terms and conditions.
+*
+* THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED
+* OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF
+* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE.
+* ON SEMICONDUCTOR SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL,
+* INCIDENTAL, OR CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
+* @endinternal
+*
+* @ingroup trim
+*
+* @details
+* <p>
+* Rf and Analog control hw module register map
+* </p>
+*/
+
+#ifndef TRIM_MAP_H_
+#define TRIM_MAP_H_
+
+/*************************************************************************************************
+* *
+* Header files *
+* *
+*************************************************************************************************/
+
+#include "architecture.h"
+
+/**************************************************************************************************
+* *
+* Type definitions *
+* *
+**************************************************************************************************/
+
+/** trim register map */
+typedef struct { /**< REV B REV D */
+ __I uint32_t PAD0; /**< 0x1FA0 0x1FA0 */
+ __I uint32_t APP_RESERVED0; /**< 0x1FA4 0x1FA4 */
+ __I uint32_t APP_RESERVED1; /**< 0x1FA8 0x1FA8 */
+#ifdef REVB
+ __I uint32_t TX_POWER; /**< 0x1FAC */
+#endif
+ __I uint32_t TRIM_32K_EXT; /**< 0x1FB0 0x1FAC */
+ __I uint32_t TRIM_32M_EXT; /**< 0x1FB4 0x1FB0 */
+#ifdef REVD
+ __I uint32_t FVVDH_COMP_TH; /**< 0x1FB4 */
+#endif
+ union {
+ struct { /* Common to REV B & REV D */
+ __I uint32_t CHANNEL11:4;
+ __I uint32_t CHANNEL12:4;
+ __I uint32_t CHANNEL13:4;
+ __I uint32_t CHANNEL14:4;
+ __I uint32_t CHANNEL15:4;
+ __I uint32_t CHANNEL16:4;
+ __I uint32_t CHANNEL17:4;
+ __I uint32_t CHANNEL18:4;
+ } BITS;
+ __I uint32_t WORD;
+ } TX_VCO_LUT1; /**< 0x1FB8 */
+ union {
+ struct {
+ __I uint32_t CHANNEL19:4;
+ __I uint32_t CHANNEL20:4;
+ __I uint32_t CHANNEL21:4;
+ __I uint32_t CHANNEL22:4;
+ __I uint32_t CHANNEL23:4;
+ __I uint32_t CHANNEL24:4;
+ __I uint32_t CHANNEL25:4;
+ __I uint32_t CHANNEL26:4;
+ } BITS;
+ __I uint32_t WORD;
+ } TX_VCO_LUT2; /**< 0x1FBC */
+ union {
+ struct {
+ __I uint32_t CHANNEL11:4;
+ __I uint32_t CHANNEL12:4;
+ __I uint32_t CHANNEL13:4;
+ __I uint32_t CHANNEL14:4;
+ __I uint32_t CHANNEL15:4;
+ __I uint32_t CHANNEL16:4;
+ __I uint32_t CHANNEL17:4;
+ __I uint32_t CHANNEL18:4;
+ } BITS;
+ __I uint32_t WORD;
+ } RX_VCO_LUT1; /**< 0x1FC0 */
+ union {
+ struct {
+ __I uint32_t CHANNEL19:4;
+ __I uint32_t CHANNEL20:4;
+ __I uint32_t CHANNEL21:4;
+ __I uint32_t CHANNEL22:4;
+ __I uint32_t CHANNEL23:4;
+ __I uint32_t CHANNEL24:4;
+ __I uint32_t CHANNEL25:4;
+ __I uint32_t CHANNEL26:4;
+ } BITS;
+ __I uint32_t WORD;
+ } RX_VCO_LUT2; /**< 0x1FC4 */
+ __I uint32_t ON_RESERVED0; /**< 0x1FC8 */
+ __I uint32_t ON_RESERVED1; /**< 0x1FCC */
+ __I uint32_t ADC_OFFSET_TRIM; /**< 0x1FD0 */
+ __I uint32_t TX_PRE_CHIPS; /**< 0x1FD4 */
+ __I uint32_t TX_CHAIN_TRIM; /**< 0x1FD8 */
+ __I uint32_t PLL_VCO_TAP_LOCATION; /**< 0x1FDC */
+ __I uint32_t PLL_TRIM; /**< 0x1FE0 */
+ __I uint32_t RSSI_OFFSET; /**< 0x1FE4 */
+ __I uint32_t RX_CHAIN_TRIM; /**< 0x1FE8 */
+ __I uint32_t PMU_TRIM; /**< 0x1FEC */
+ __I uint32_t WR_SEED_RD_RAND; /**< 0x1FF0 */
+ __I uint32_t WAFER_LOCATION; /**< 0x1FF4 */
+ __I uint32_t LOT_NUMBER; /**< 0x1FF8 */
+ __I uint32_t REVISION_CODE; /**< 0x1FFC */
+} TrimReg_t, *TrimReg_pt;
+
+#endif /* TRIM_MAP_H_ */
