Skip to content

Commit 1bf54f4

Browse files
kevin-gillespiesihyung-maxim
authored andcommitted
Adding BTLE_LDO_TRIM register. (#402)
* Adding BTLE_LDO_TRIM register. * ME18: Updated sir_regs.h copyright notice. * SVD workflow: Differentiate between sir and trimsir. * SVD workflow: fixed typo. * SVD workflow: Fixed syntax error. --------- Co-authored-by: Kevin Gillespie <[email protected]> Co-authored-by: Sihyung Woo <[email protected]> MSDK-Commit: 8b473b6d1340e3d32e44d76aaeeaf69e2f29ac33
1 parent fe3fa60 commit 1bf54f4

File tree

3 files changed

+63
-2
lines changed

3 files changed

+63
-2
lines changed

MAX/Libraries/CMSIS/Device/Maxim/MAX32690/Include/max32690.svd

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13467,6 +13467,28 @@ signal(s) on transition(s) from low to high or high to low when PM.USBWKEN is se
1346713467
</field>
1346813468
</fields>
1346913469
</register>
13470+
<register>
13471+
<name>BTLE_LDO_TRIM</name>
13472+
<description>BTLE LDO Trim register.</description>
13473+
<addressOffset>0x28</addressOffset>
13474+
<access>read-write</access>
13475+
<fields>
13476+
<field>
13477+
<name>TX</name>
13478+
<description>TX LDO trim value.</description>
13479+
<bitOffset>0</bitOffset>
13480+
<bitWidth>5</bitWidth>
13481+
<access>read-write</access>
13482+
</field>
13483+
<field>
13484+
<name>RX</name>
13485+
<description>RX LDO trim value.</description>
13486+
<bitOffset>5</bitOffset>
13487+
<bitWidth>5</bitWidth>
13488+
<access>read-write</access>
13489+
</field>
13490+
</fields>
13491+
</register>
1347013492
<register>
1347113493
<name>FSTAT</name>
1347213494
<description>funcstat register.</description>

MAX/Libraries/CMSIS/Device/Maxim/MAX32690/Include/sir_regs.h

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*/
66

77
/******************************************************************************
8-
* Copyright (C) 2022 Maxim Integrated Products, Inc., All Rights Reserved.
8+
* Copyright (C) 2023 Maxim Integrated Products, Inc., All Rights Reserved.
99
*
1010
* Permission is hereby granted, free of charge, to any person obtaining a
1111
* copy of this software and associated documentation files (the "Software"),
@@ -88,7 +88,9 @@ extern "C" {
8888
typedef struct {
8989
__I uint32_t sistat; /**< <tt>\b 0x00:</tt> SIR SISTAT Register */
9090
__I uint32_t siaddr; /**< <tt>\b 0x04:</tt> SIR SIADDR Register */
91-
__R uint32_t rsv_0x8_0xff[62];
91+
__R uint32_t rsv_0x8_0x27[8];
92+
__IO uint32_t btle_ldo_trim; /**< <tt>\b 0x28:</tt> SIR BTLE_LDO_TRIM Register */
93+
__R uint32_t rsv_0x2c_0xff[53];
9294
__I uint32_t fstat; /**< <tt>\b 0x100:</tt> SIR FSTAT Register */
9395
__I uint32_t sfstat; /**< <tt>\b 0x104:</tt> SIR SFSTAT Register */
9496
} mxc_sir_regs_t;
@@ -102,6 +104,7 @@ typedef struct {
102104
*/
103105
#define MXC_R_SIR_SISTAT ((uint32_t)0x00000000UL) /**< Offset from SIR Base Address: <tt> 0x0000</tt> */
104106
#define MXC_R_SIR_SIADDR ((uint32_t)0x00000004UL) /**< Offset from SIR Base Address: <tt> 0x0004</tt> */
107+
#define MXC_R_SIR_BTLE_LDO_TRIM ((uint32_t)0x00000028UL) /**< Offset from SIR Base Address: <tt> 0x0028</tt> */
105108
#define MXC_R_SIR_FSTAT ((uint32_t)0x00000100UL) /**< Offset from SIR Base Address: <tt> 0x0100</tt> */
106109
#define MXC_R_SIR_SFSTAT ((uint32_t)0x00000104UL) /**< Offset from SIR Base Address: <tt> 0x0104</tt> */
107110
/**@} end of group sir_registers */
@@ -133,6 +136,20 @@ typedef struct {
133136

134137
/**@} end of group SIR_SIADDR_Register */
135138

139+
/**
140+
* @ingroup sir_registers
141+
* @defgroup SIR_BTLE_LDO_TRIM SIR_BTLE_LDO_TRIM
142+
* @brief BTLE LDO Trim register.
143+
* @{
144+
*/
145+
#define MXC_F_SIR_BTLE_LDO_TRIM_TX_POS 0 /**< BTLE_LDO_TRIM_TX Position */
146+
#define MXC_F_SIR_BTLE_LDO_TRIM_TX ((uint32_t)(0x1FUL << MXC_F_SIR_BTLE_LDO_TRIM_TX_POS)) /**< BTLE_LDO_TRIM_TX Mask */
147+
148+
#define MXC_F_SIR_BTLE_LDO_TRIM_RX_POS 5 /**< BTLE_LDO_TRIM_RX Position */
149+
#define MXC_F_SIR_BTLE_LDO_TRIM_RX ((uint32_t)(0x1FUL << MXC_F_SIR_BTLE_LDO_TRIM_RX_POS)) /**< BTLE_LDO_TRIM_RX Mask */
150+
151+
/**@} end of group SIR_BTLE_LDO_TRIM_Register */
152+
136153
/**
137154
* @ingroup sir_registers
138155
* @defgroup SIR_FSTAT SIR_FSTAT

MAX/Libraries/PeriphDrivers/Source/SYS/SVD/sir_me18.svd

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,28 @@
7272
</field>
7373
</fields>
7474
</register>
75+
<register>
76+
<name>BTLE_LDO_TRIM</name>
77+
<description>BTLE LDO Trim register.</description>
78+
<addressOffset>0x28</addressOffset>
79+
<access>read-write</access>
80+
<fields>
81+
<field>
82+
<name>TX</name>
83+
<description>TX LDO trim value.</description>
84+
<bitOffset>0</bitOffset>
85+
<bitWidth>5</bitWidth>
86+
<access>read-write</access>
87+
</field>
88+
<field>
89+
<name>RX</name>
90+
<description>RX LDO trim value.</description>
91+
<bitOffset>5</bitOffset>
92+
<bitWidth>5</bitWidth>
93+
<access>read-write</access>
94+
</field>
95+
</fields>
96+
</register>
7597
<register>
7698
<name>FSTAT</name>
7799
<description>funcstat register.</description>

0 commit comments

Comments
 (0)