File tree Expand file tree Collapse file tree 2 files changed +38
-2
lines changed Expand file tree Collapse file tree 2 files changed +38
-2
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2023 NXP
2
+ * Copyright 2023-2024 NXP
3
3
*
4
4
* SPDX-License-Identifier: BSD-3-Clause
5
5
*/
@@ -733,4 +733,31 @@ typedef struct {
733
733
* @}
734
734
*/ /* end of group CAN_Peripheral_Access_Layer */
735
735
736
+ /* ----------------------------------------------------------------------------
737
+ -- WDOG Peripheral Access Layer
738
+ ---------------------------------------------------------------------------- */
739
+
740
+ /*!
741
+ * @addtogroup WDOG_Peripheral_Access_Layer WDOG Peripheral Access Layer
742
+ * @{
743
+ */
744
+
745
+ /* WDOG - Peripheral instance base addresses */
746
+ /** Peripheral WDOG base address */
747
+ #define WDOG_BASE IP_WDOG_BASE
748
+ /** Peripheral WDOG base pointer */
749
+ #define WDOG IP_WDOG
750
+ /** Array initializer of WDOG peripheral base addresses */
751
+ #define WDOG_BASE_ADDRS IP_WDOG_BASE_ADDRS
752
+ /** Array initializer of WDOG peripheral base pointers */
753
+ #define WDOG_BASE_PTRS IP_WDOG_BASE_PTRS
754
+ /** Interrupt vectors for the WDOG peripheral type */
755
+ #define WDOG_IRQS { WDOG_EWM_IRQn }
756
+ #define WDOG_UPDATE_KEY (0xD928C520U)
757
+ #define WDOG_REFRESH_KEY (0xB480A602U)
758
+
759
+ /*!
760
+ * @}
761
+ */ /* end of group WDOG_Peripheral_Access_Layer */
762
+
736
763
#endif /* _S32K146_DEVICE_H_ */
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2023 NXP
2
+ * Copyright 2023-2024 NXP
3
3
*
4
4
* SPDX-License-Identifier: BSD-3-Clause
5
5
*/
27
27
#define FSL_FEATURE_SOC_FTM_COUNT (6)
28
28
/* @brief FLEXCAN availability on the SoC. */
29
29
#define FSL_FEATURE_SOC_FLEXCAN_COUNT (3)
30
+ /* @brief WDOG availability on the SoC. */
31
+ #define FSL_FEATURE_SOC_WDOG_COUNT (1)
30
32
31
33
/* SYSMPU module features */
32
34
243
245
/* @brief Does not support Supervisor Mode (bitfield MCR[SUPV]. */
244
246
#define FSL_FEATURE_FLEXCAN_HAS_NO_SUPV_SUPPORT (0)
245
247
248
+ /* WDOG module features */
249
+
250
+ /* @brief Watchdog is available. */
251
+ #define FSL_FEATURE_WDOG_HAS_WATCHDOG (1)
252
+ /* @brief WDOG_CNT can be 32-bit written. */
253
+ #define FSL_FEATURE_WDOG_HAS_32BIT_ACCESS (1)
254
+
246
255
#endif /* _S32K146_FEATURES_H_ */
You can’t perform that action at this time.
0 commit comments