Skip to content

Commit d46e963

Browse files
mmahadevan108MaureenHelm
authored andcommitted
MK80F25615: Update device files to SDK 2.8.0
Update MK80F25615 to SDK 2.8.0 Origin: MCUXpresso SDK License: BSD 3-Clause URL: mcux.nxp.com Maintained-by: External Signed-off-by: Mahesh Mahadevan <[email protected]>
1 parent d353e40 commit d46e963

File tree

2 files changed

+21
-16
lines changed

2 files changed

+21
-16
lines changed

mcux/devices/MK80F25615/MK80F25615_features.h

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
/*
22
** ###################################################################
33
** Version: rev. 1.7, 2015-06-08
4-
** Build: b190822
4+
** Build: b200409
55
**
66
** Abstract:
77
** Chip specific module features.
88
**
99
** Copyright 2016 Freescale Semiconductor, Inc.
10-
** Copyright 2016-2019 NXP
10+
** Copyright 2016-2020 NXP
1111
** All rights reserved.
1212
**
1313
** SPDX-License-Identifier: BSD-3-Clause
@@ -501,6 +501,8 @@
501501
#define FSL_FEATURE_FTM_HAS_CHANNEL7_TRIGGER (0)
502502
/* @brief Has no QDCTRL. */
503503
#define FSL_FEATURE_FTM_HAS_NO_QDCTRL (0)
504+
/* @brief If instance has only TPM function. */
505+
#define FSL_FEATURE_FTM_IS_TPM_ONLY_INSTANCEn(x) (0)
504506

505507
/* GPIO module features */
506508

@@ -1942,6 +1944,8 @@
19421944
#define FSL_FEATURE_SMC_HAS_SRS_TAMPER (0)
19431945
/* @brief Has security violation reset (register bit SRS[SECVIO]). */
19441946
#define FSL_FEATURE_SMC_HAS_SRS_SECVIO (0)
1947+
/* @brief Width of SMC registers. */
1948+
#define FSL_FEATURE_SMC_REG_WIDTH (8)
19451949

19461950
/* DSPI module features */
19471951

mcux/devices/MK80F25615/fsl_clock.h

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* Copyright (c) 2015, Freescale Semiconductor, Inc.
3-
* Copyright 2016 - 2019, NXP
3+
* Copyright 2016 - 2020, NXP
44
* All rights reserved.
55
*
66
* SPDX-License-Identifier: BSD-3-Clause
@@ -581,7 +581,7 @@ typedef enum _mcg_monitor_mode
581581
kMCG_MonitorReset /*!< System reset when clock lost. */
582582
} mcg_monitor_mode_t;
583583

584-
/*! @brief MCG status. */
584+
/*! @brief MCG status. Enumeration _mcg_status */
585585
enum
586586
{
587587
kStatus_MCG_ModeUnreachable = MAKE_STATUS(kStatusGroup_MCG, 0U), /*!< Can't switch to target mode. */
@@ -595,7 +595,7 @@ enum
595595
it is in use. */
596596
};
597597

598-
/*! @brief MCG status flags. */
598+
/*! @brief MCG status flags. Enumeration _mcg_status_flags_t */
599599
enum
600600
{
601601
kMCG_Osc0LostFlag = (1U << 0U), /*!< OSC0 lost. */
@@ -605,14 +605,14 @@ enum
605605
kMCG_Pll0LockFlag = (1U << 6U), /*!< PLL0 locked. */
606606
};
607607

608-
/*! @brief MCG internal reference clock (MCGIRCLK) enable mode definition. */
608+
/*! @brief MCG internal reference clock (MCGIRCLK) enable mode definition. Enumeration _mcg_irclk_enable_mode */
609609
enum
610610
{
611611
kMCG_IrclkEnable = MCG_C1_IRCLKEN_MASK, /*!< MCGIRCLK enable. */
612612
kMCG_IrclkEnableInStop = MCG_C1_IREFSTEN_MASK /*!< MCGIRCLK enable in stop mode. */
613613
};
614614

615-
/*! @brief MCG PLL clock enable mode definition. */
615+
/*! @brief MCG PLL clock enable mode definition. Enumeration _mcg_pll_enable_mode */
616616
enum
617617
{
618618
kMCG_PllEnableIndependent = MCG_C5_PLLCLKEN0_MASK, /*!< MCGPLLCLK enable independent of the
@@ -641,7 +641,7 @@ typedef enum _mcg_mode
641641
/*! @brief MCG PLL configuration. */
642642
typedef struct _mcg_pll_config
643643
{
644-
uint8_t enableMode; /*!< Enable mode. OR'ed value of @ref _mcg_pll_enable_mode. */
644+
uint8_t enableMode; /*!< Enable mode. OR'ed value of enumeration _mcg_pll_enable_mode. */
645645
uint8_t prdiv; /*!< Reference divider PRDIV. */
646646
uint8_t vdiv; /*!< VCO divider VDIV. */
647647
} mcg_pll_config_t;
@@ -771,6 +771,8 @@ static inline void CLOCK_SetFlexio0Clock(uint32_t src)
771771
* @brief Set debug trace clock source.
772772
*
773773
* @param src The value to set debug trace clock source.
774+
* @param divValue Trace clock divider divisor.
775+
* @param fracValue Trace clock divider fraction.
774776
*/
775777
static inline void CLOCK_SetTraceClock(uint32_t src, uint32_t divValue, uint32_t fracValue)
776778
{
@@ -947,7 +949,6 @@ void CLOCK_SetSimConfig(sim_clock_config_t const *config);
947949
* be used before MCG mode change, to make sure system level clocks are in allowed
948950
* range.
949951
*
950-
* @param config Pointer to the configure structure.
951952
*/
952953
static inline void CLOCK_SetSimSafeDivs(void)
953954
{
@@ -1044,7 +1045,7 @@ static inline void CLOCK_SetLowPowerEnable(bool enable)
10441045
* Calling this function in FBI/PBI/BLPI modes may change the system clock. As a result,
10451046
* using the function in these modes it is not allowed.
10461047
*
1047-
* @param enableMode MCGIRCLK enable mode, OR'ed value of @ref _mcg_irclk_enable_mode.
1048+
* @param enableMode MCGIRCLK enable mode, OR'ed value of the enumeration _mcg_irclk_enable_mode.
10481049
* @param ircs MCGIRCLK clock source, choose fast or slow.
10491050
* @param fcrdiv Fast IRC divider setting (\c FCRDIV).
10501051
* @retval kStatus_MCG_SourceUsed Because the internal reference clock is used as a clock source,
@@ -1156,7 +1157,7 @@ void CLOCK_SetPll0MonitorMode(mcg_monitor_mode_t mode);
11561157
* @brief Gets the MCG status flags.
11571158
*
11581159
* This function gets the MCG clock status flags. All status flags are
1159-
* returned as a logical OR of the enumeration @ref _mcg_status_flags_t. To
1160+
* returned as a logical OR of the enumeration refer to _mcg_status_flags_t. To
11601161
* check a specific flag, compare the return value with the flag.
11611162
*
11621163
* Example:
@@ -1176,15 +1177,15 @@ void CLOCK_SetPll0MonitorMode(mcg_monitor_mode_t mode);
11761177
* }
11771178
* @endcode
11781179
*
1179-
* @return Logical OR value of the @ref _mcg_status_flags_t.
1180+
* @return Logical OR value of the enumeration _mcg_status_flags_t.
11801181
*/
11811182
uint32_t CLOCK_GetStatusFlags(void);
11821183

11831184
/*!
11841185
* @brief Clears the MCG status flags.
11851186
*
11861187
* This function clears the MCG clock lock lost status. The parameter is a logical
1187-
* OR value of the flags to clear. See @ref _mcg_status_flags_t.
1188+
* OR value of the flags to clear. See the enumeration _mcg_status_flags_t.
11881189
*
11891190
* Example:
11901191
* @code
@@ -1194,7 +1195,7 @@ uint32_t CLOCK_GetStatusFlags(void);
11941195
* @endcode
11951196
*
11961197
* @param mask The status flags to clear. This is a logical OR of members of the
1197-
* enumeration @ref _mcg_status_flags_t.
1198+
* enumeration _mcg_status_flags_t.
11981199
*/
11991200
void CLOCK_ClearStatusFlags(uint32_t mask);
12001201

@@ -1570,7 +1571,7 @@ status_t CLOCK_BootToFeeMode(
15701571
*
15711572
* @param fcrdiv Fast IRC divider, FCRDIV.
15721573
* @param ircs The internal reference clock to select, IRCS.
1573-
* @param ircEnableMode The MCGIRCLK enable mode, OR'ed value of @ref _mcg_irclk_enable_mode.
1574+
* @param ircEnableMode The MCGIRCLK enable mode, OR'ed value of the enumeration _mcg_irclk_enable_mode.
15741575
*
15751576
* @retval kStatus_MCG_SourceUsed Could not change MCGIRCLK setting.
15761577
* @retval kStatus_Success Switched to the target mode successfully.
@@ -1613,7 +1614,7 @@ status_t CLOCK_BootToPeeMode(mcg_oscsel_t oscsel, mcg_pll_clk_select_t pllcs, mc
16131614
* chooses the correct path.
16141615
*
16151616
* @param config Pointer to the target MCG mode configuration structure.
1616-
* @return Return kStatus_Success if switched successfully; Otherwise, it returns an error code #_mcg_status.
1617+
* @return Return kStatus_Success if switched successfully; Otherwise, it returns an error code _mcg_status.
16171618
*
16181619
* @note If the external clock is used in the target mode, ensure that it is
16191620
* enabled. For example, if the OSC0 is used, set up OSC0 correctly before calling this

0 commit comments

Comments
 (0)