Skip to content

Commit d353e40

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

File tree

2 files changed

+21
-16
lines changed

2 files changed

+21
-16
lines changed

mcux/devices/MK64F12/MK64F12_features.h

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
/*
22
** ###################################################################
33
** Version: rev. 2.15, 2016-03-21
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
@@ -390,6 +390,8 @@
390390
#define FSL_FEATURE_ENET_INTERRUPT_COUNT (4)
391391
/* @brief Has threshold for the number of frames in the receive FIFO (register bit field RSEM[STAT_SECTION_EMPTY]). */
392392
#define FSL_FEATURE_ENET_HAS_RECEIVE_STATUS_THRESHOLD (1)
393+
/* @brief Has Extend MDIO Support. */
394+
#define FSL_FEATURE_ENET_HAS_EXTEND_MDIO (0)
393395

394396
/* EWM module features */
395397

@@ -822,6 +824,8 @@
822824
#define FSL_FEATURE_FTM_HAS_CHANNEL7_TRIGGER (0)
823825
/* @brief Has no QDCTRL. */
824826
#define FSL_FEATURE_FTM_HAS_NO_QDCTRL (0)
827+
/* @brief If instance has only TPM function. */
828+
#define FSL_FEATURE_FTM_IS_TPM_ONLY_INSTANCEn(x) (0)
825829

826830
/* GPIO module features */
827831

@@ -1730,6 +1734,8 @@
17301734
#define FSL_FEATURE_SMC_HAS_SRS_TAMPER (0)
17311735
/* @brief Has security violation reset (register bit SRS[SECVIO]). */
17321736
#define FSL_FEATURE_SMC_HAS_SRS_SECVIO (0)
1737+
/* @brief Width of SMC registers. */
1738+
#define FSL_FEATURE_SMC_REG_WIDTH (8)
17331739

17341740
/* DSPI module features */
17351741

mcux/devices/MK64F12/fsl_clock.h

Lines changed: 13 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
@@ -556,7 +556,7 @@ typedef enum _mcg_monitor_mode
556556
kMCG_MonitorReset /*!< System reset when clock lost. */
557557
} mcg_monitor_mode_t;
558558

559-
/*! @brief MCG status. */
559+
/*! @brief MCG status. Enumeration _mcg_status */
560560
enum
561561
{
562562
kStatus_MCG_ModeUnreachable = MAKE_STATUS(kStatusGroup_MCG, 0U), /*!< Can't switch to target mode. */
@@ -570,7 +570,7 @@ enum
570570
it is in use. */
571571
};
572572

573-
/*! @brief MCG status flags. */
573+
/*! @brief MCG status flags. Enumeration _mcg_status_flags_t */
574574
enum
575575
{
576576
kMCG_Osc0LostFlag = (1U << 0U), /*!< OSC0 lost. */
@@ -580,14 +580,14 @@ enum
580580
kMCG_Pll0LockFlag = (1U << 6U), /*!< PLL0 locked. */
581581
};
582582

583-
/*! @brief MCG internal reference clock (MCGIRCLK) enable mode definition. */
583+
/*! @brief MCG internal reference clock (MCGIRCLK) enable mode definition. Enumeration _mcg_irclk_enable_mode */
584584
enum
585585
{
586586
kMCG_IrclkEnable = MCG_C1_IRCLKEN_MASK, /*!< MCGIRCLK enable. */
587587
kMCG_IrclkEnableInStop = MCG_C1_IREFSTEN_MASK /*!< MCGIRCLK enable in stop mode. */
588588
};
589589

590-
/*! @brief MCG PLL clock enable mode definition. */
590+
/*! @brief MCG PLL clock enable mode definition. Enumeration _mcg_pll_enable_mode */
591591
enum
592592
{
593593
kMCG_PllEnableIndependent = MCG_C5_PLLCLKEN0_MASK, /*!< MCGPLLCLK enable independent of the
@@ -616,7 +616,7 @@ typedef enum _mcg_mode
616616
/*! @brief MCG PLL configuration. */
617617
typedef struct _mcg_pll_config
618618
{
619-
uint8_t enableMode; /*!< Enable mode. OR'ed value of @ref _mcg_pll_enable_mode. */
619+
uint8_t enableMode; /*!< Enable mode. OR'ed value of enumeration _mcg_pll_enable_mode. */
620620
uint8_t prdiv; /*!< Reference divider PRDIV. */
621621
uint8_t vdiv; /*!< VCO divider VDIV. */
622622
} mcg_pll_config_t;
@@ -885,7 +885,6 @@ void CLOCK_SetSimConfig(sim_clock_config_t const *config);
885885
* be used before MCG mode change, to make sure system level clocks are in allowed
886886
* range.
887887
*
888-
* @param config Pointer to the configure structure.
889888
*/
890889
static inline void CLOCK_SetSimSafeDivs(void)
891890
{
@@ -982,7 +981,7 @@ static inline void CLOCK_SetLowPowerEnable(bool enable)
982981
* Calling this function in FBI/PBI/BLPI modes may change the system clock. As a result,
983982
* using the function in these modes it is not allowed.
984983
*
985-
* @param enableMode MCGIRCLK enable mode, OR'ed value of @ref _mcg_irclk_enable_mode.
984+
* @param enableMode MCGIRCLK enable mode, OR'ed value of the enumeration _mcg_irclk_enable_mode.
986985
* @param ircs MCGIRCLK clock source, choose fast or slow.
987986
* @param fcrdiv Fast IRC divider setting (\c FCRDIV).
988987
* @retval kStatus_MCG_SourceUsed Because the internal reference clock is used as a clock source,
@@ -1094,7 +1093,7 @@ void CLOCK_SetPll0MonitorMode(mcg_monitor_mode_t mode);
10941093
* @brief Gets the MCG status flags.
10951094
*
10961095
* This function gets the MCG clock status flags. All status flags are
1097-
* returned as a logical OR of the enumeration @ref _mcg_status_flags_t. To
1096+
* returned as a logical OR of the enumeration refer to _mcg_status_flags_t. To
10981097
* check a specific flag, compare the return value with the flag.
10991098
*
11001099
* Example:
@@ -1114,15 +1113,15 @@ void CLOCK_SetPll0MonitorMode(mcg_monitor_mode_t mode);
11141113
* }
11151114
* @endcode
11161115
*
1117-
* @return Logical OR value of the @ref _mcg_status_flags_t.
1116+
* @return Logical OR value of the enumeration _mcg_status_flags_t.
11181117
*/
11191118
uint32_t CLOCK_GetStatusFlags(void);
11201119

11211120
/*!
11221121
* @brief Clears the MCG status flags.
11231122
*
11241123
* This function clears the MCG clock lock lost status. The parameter is a logical
1125-
* OR value of the flags to clear. See @ref _mcg_status_flags_t.
1124+
* OR value of the flags to clear. See the enumeration _mcg_status_flags_t.
11261125
*
11271126
* Example:
11281127
* @code
@@ -1132,7 +1131,7 @@ uint32_t CLOCK_GetStatusFlags(void);
11321131
* @endcode
11331132
*
11341133
* @param mask The status flags to clear. This is a logical OR of members of the
1135-
* enumeration @ref _mcg_status_flags_t.
1134+
* enumeration _mcg_status_flags_t.
11361135
*/
11371136
void CLOCK_ClearStatusFlags(uint32_t mask);
11381137

@@ -1506,7 +1505,7 @@ status_t CLOCK_BootToFeeMode(
15061505
*
15071506
* @param fcrdiv Fast IRC divider, FCRDIV.
15081507
* @param ircs The internal reference clock to select, IRCS.
1509-
* @param ircEnableMode The MCGIRCLK enable mode, OR'ed value of @ref _mcg_irclk_enable_mode.
1508+
* @param ircEnableMode The MCGIRCLK enable mode, OR'ed value of the enumeration _mcg_irclk_enable_mode.
15101509
*
15111510
* @retval kStatus_MCG_SourceUsed Could not change MCGIRCLK setting.
15121511
* @retval kStatus_Success Switched to the target mode successfully.
@@ -1549,7 +1548,7 @@ status_t CLOCK_BootToPeeMode(mcg_oscsel_t oscsel, mcg_pll_clk_select_t pllcs, mc
15491548
* chooses the correct path.
15501549
*
15511550
* @param config Pointer to the target MCG mode configuration structure.
1552-
* @return Return kStatus_Success if switched successfully; Otherwise, it returns an error code #_mcg_status.
1551+
* @return Return kStatus_Success if switched successfully; Otherwise, it returns an error code _mcg_status.
15531552
*
15541553
* @note If the external clock is used in the target mode, ensure that it is
15551554
* enabled. For example, if the OSC0 is used, set up OSC0 correctly before calling this

0 commit comments

Comments
 (0)