Skip to content

Commit

Permalink
CMSIS-Core(M): M55/M85 : add CPPWR SU10/11 defines
Browse files Browse the repository at this point in the history
FP & MVE requires the SU10 to be modified while transitioning
to low power state.

Signed-off-by: Sudhir Sreedharan <[email protected]>
  • Loading branch information
sudhir-alifsemi authored and JonatanAntoni committed Sep 3, 2024
1 parent 07f9827 commit 5893c3d
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
13 changes: 13 additions & 0 deletions CMSIS/Core/Include/core_cm55.h
Original file line number Diff line number Diff line change
Expand Up @@ -1023,6 +1023,19 @@ typedef struct
__IOM uint32_t CPPWR; /*!< Offset: 0x00C (R/W) Coprocessor Power Control Register */
} ICB_Type;

/** \brief ICB Coprocessor Power Control Register Definitions */
#define ICB_CPPWR_SUS11_Pos 23U /*!< CPPWR: SUS11 Position */
#define ICB_CPPWR_SUS11_Msk (1UL << ICB_CPPWR_SUS11_Pos) /*!< CPPWR: SUS11 Mask */

#define ICB_CPPWR_SU11_Pos 22U /*!< CPPWR: SU11 Position */
#define ICB_CPPWR_SU11_Msk (1UL << ICB_CPPWR_SU11_Pos) /*!< CPPWR: SU11 Mask */

#define ICB_CPPWR_SUS10_Pos 21U /*!< CPPWR: SUS10 Position */
#define ICB_CPPWR_SUS10_Msk (1UL << ICB_CPPWR_SUS10_Pos) /*!< CPPWR: SUS10 Mask */

#define ICB_CPPWR_SU10_Pos 20U /*!< CPPWR: SU10 Position */
#define ICB_CPPWR_SU10_Msk (1UL << ICB_CPPWR_SU10_Pos) /*!< CPPWR: SU10 Mask */

/** \brief ICB Auxiliary Control Register Definitions */
#define ICB_ACTLR_DISCRITAXIRUW_Pos 27U /*!< ACTLR: DISCRITAXIRUW Position */
#define ICB_ACTLR_DISCRITAXIRUW_Msk (1UL << ICB_ACTLR_DISCRITAXIRUW_Pos) /*!< ACTLR: DISCRITAXIRUW Mask */
Expand Down
13 changes: 13 additions & 0 deletions CMSIS/Core/Include/core_cm85.h
Original file line number Diff line number Diff line change
Expand Up @@ -1044,6 +1044,19 @@ typedef struct
__IOM uint32_t CPPWR; /*!< Offset: 0x00C (R/W) Coprocessor Power Control Register */
} ICB_Type;

/** \brief ICB Coprocessor Power Control Register Definitions */
#define ICB_CPPWR_SUS11_Pos 23U /*!< CPPWR: SUS11 Position */
#define ICB_CPPWR_SUS11_Msk (1UL << ICB_CPPWR_SUS11_Pos) /*!< CPPWR: SUS11 Mask */

#define ICB_CPPWR_SU11_Pos 22U /*!< CPPWR: SU11 Position */
#define ICB_CPPWR_SU11_Msk (1UL << ICB_CPPWR_SU11_Pos) /*!< CPPWR: SU11 Mask */

#define ICB_CPPWR_SUS10_Pos 21U /*!< CPPWR: SUS10 Position */
#define ICB_CPPWR_SUS10_Msk (1UL << ICB_CPPWR_SUS10_Pos) /*!< CPPWR: SUS10 Mask */

#define ICB_CPPWR_SU10_Pos 20U /*!< CPPWR: SU10 Position */
#define ICB_CPPWR_SU10_Msk (1UL << ICB_CPPWR_SU10_Pos) /*!< CPPWR: SU10 Mask */

/** \brief ICB Auxiliary Control Register Definitions */
#define ICB_ACTLR_DISCRITAXIRUW_Pos 27U /*!< ACTLR: DISCRITAXIRUW Position */
#define ICB_ACTLR_DISCRITAXIRUW_Msk (1UL << ICB_ACTLR_DISCRITAXIRUW_Pos) /*!< ACTLR: DISCRITAXIRUW Mask */
Expand Down

0 comments on commit 5893c3d

Please sign in to comment.