Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doc, CMSIS-Core: minor documentation clean up. #95

Merged
merged 5 commits into from
Nov 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion CMSIS/Core/Include/core_ca.h
Original file line number Diff line number Diff line change
Expand Up @@ -1317,7 +1317,6 @@ __STATIC_FORCEINLINE void __L1C_MaintainDCacheSetWay(uint32_t level, uint32_t ma
}

/** \brief Clean and Invalidate the entire data or unified cache
* Generic mechanism for cleaning/invalidating the entire data or unified cache to the point of coherency
* \param [in] op 0 - invalidate, 1 - clean, otherwise - invalidate and clean
*/
__STATIC_FORCEINLINE void L1C_CleanInvalidateCache(uint32_t op) {
Expand Down
8 changes: 4 additions & 4 deletions CMSIS/Documentation/Doxygen/Core/src/history.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ The table below provides information about the changes delivered with specific v
<td>V5.7.0</td>
<td>
<ul>
<li>Added: Added new compiler macros __ALIAS and __NO_INIT</li>
<li>Added: Added new compiler macros \ref __ALIAS and \ref __NO_INIT</li>
</ul>
</td>
</tr>
Expand Down Expand Up @@ -48,7 +48,7 @@ The table below provides information about the changes delivered with specific v
<li>Added: Cortex-M55 cpu support</li>
<li>Enhanced: MVE support for Armv8.1-MML</li>
<li>Fixed: Device config define checks</li>
<li>Added: L1 Cache functions for Armv7-M and later</li>
<li>Added: \ref cache_functions_m7 for Armv7-M and later</li>
</ul>
</td>
</tr>
Expand Down Expand Up @@ -84,7 +84,7 @@ The table below provides information about the changes delivered with specific v
<td>
<ul>
<li>Removed using get/set built-ins FPSCR in GCC >= 7.2 due to shortcomings.</li>
<li>Added __NO_RETURN to __NVIC_SystemReset() to silence compiler warnings.</li>
<li>Added __NO_RETURN to __NVIC_SystemReset() to silence compiler warnings.</li>
<li>Added support for Cortex-M1 (beta).</li>
<li>Removed usage of register keyword.</li>
<li>Added defines for EXC_RETURN, FNC_RETURN and integrity signature values.</li>
Expand Down Expand Up @@ -116,7 +116,7 @@ The table below provides information about the changes delivered with specific v
<ul>
<li>Added macros \ref \__UNALIGNED_UINT16_READ, \ref \__UNALIGNED_UINT16_WRITE.</li>
<li>Added macros \ref \__UNALIGNED_UINT32_READ, \ref \__UNALIGNED_UINT32_WRITE.</li>
<li>Deprecated macro \ref \__UNALIGNED_UINT32.</li>
<li>Deprecated macro __UNALIGNED_UINT32.</li>
<li>Changed \ref version_control_gr macros to be core agnostic.</li>
<li>Added \ref mpu_functions for Cortex-M0+/M3/M4/M7.</li>
</ul>
Expand Down
2 changes: 1 addition & 1 deletion CMSIS/Documentation/Doxygen/Core/src/ref_cm_instr.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
\brief Functions that generate specific Cortex-M CPU Instructions.
\details
The following functions generate specific Cortex-M instructions that cannot be directly accessed by the C/C++ Compiler.
Refer to the \ref ref_man_sec for detailed information about these Cortex-M instructions.
Refer to the \ref ref_man_sec "Cortex-M Generic User Guides" for detailed information about these Cortex-M instructions.

\note
When using the <b>Arm Compiler Version 5 Toolchain</b> the following \ref intrinsic_CPU_gr are implemented using the Embedded Assembler.
Expand Down
24 changes: 0 additions & 24 deletions CMSIS/Documentation/Doxygen/Core/src/ref_compiler_ctrl.txt
Original file line number Diff line number Diff line change
Expand Up @@ -278,30 +278,6 @@ __PACKED_STRUCT foo {
*/
#define __PACKED_STRUCT

/**************************************************************************************************/
/**
\def __UNALIGNED_UINT32
\brief Pointer for unaligned access of a uint32_t variable.
\deprecated
Do not use this macro.
It has been superseded by \ref __UNALIGNED_UINT32_READ, \ref __UNALIGNED_UINT32_WRITE and will be removed in the future.
\details
Defines a pointer to a uint32_t from an address that does not need to be aligned. This can then be used in read/write
operations. The compiler will generate the appropriate access (aligned or non-aligned) depending on the underlying Arm
processor core and compiler settings.

<b>Code Example:</b>
\code
uint32_t val32;

void test (uint8_t *ptr) {
__UNALIGNED_UINT32(ptr) = val32;
}
\endcode

*/
#define __UNALIGNED_UINT32

/**************************************************************************************************/
/**
\def __UNALIGNED_UINT16_READ
Expand Down
42 changes: 21 additions & 21 deletions CMSIS/Documentation/Doxygen/Core/src/ref_core_reg.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

\sa
- \ref __set_CONTROL; CONTROL_Type
- \ref ref_man_sec
- \ref ref_man_sec "Cortex-M Generic User Guides"
*/
uint32_t __get_CONTROL(void);

Expand Down Expand Up @@ -81,7 +81,7 @@ uint32_t __get_CONTROL(void);

\sa
- \ref __get_CONTROL; __set_PSP; __set_MSP; CONTROL_Type
- \ref ref_man_sec
- \ref ref_man_sec "Cortex-M Generic User Guides"
*/
void __set_CONTROL(uint32_t control);

Expand Down Expand Up @@ -121,7 +121,7 @@ void __set_CONTROL(uint32_t control);
\sa
- \ref __get_xPSR; IPSR_Type
- \ref NVIC_gr
- \ref ref_man_sec
- \ref ref_man_sec "Cortex-M Generic User Guides"
*/
uint32_t __get_IPSR(void);

Expand Down Expand Up @@ -169,7 +169,7 @@ uint32_t __get_IPSR(void);

\sa
- \ref __get_xPSR; APSR_Type
- \ref ref_man_sec
- \ref ref_man_sec "Cortex-M Generic User Guides"

*/
uint32_t __get_APSR(void);
Expand Down Expand Up @@ -207,7 +207,7 @@ uint32_t __get_APSR(void);

\sa
- \ref __get_APSR; __get_IPSR; xPSR_Type
- \ref ref_man_sec
- \ref ref_man_sec "Cortex-M Generic User Guides"

*/
uint32_t __get_xPSR(void);
Expand Down Expand Up @@ -238,7 +238,7 @@ uint32_t __get_xPSR(void);

\sa
- \ref __set_PSP; __get_MSP; __get_CONTROL
- \ref ref_man_sec
- \ref ref_man_sec "Cortex-M Generic User Guides"


*/
Expand Down Expand Up @@ -270,7 +270,7 @@ uint32_t __get_PSP(void);

\sa
- \ref __get_PSP; __set_MSP; __set_CONTROL
- \ref ref_man_sec
- \ref ref_man_sec "Cortex-M Generic User Guides"
*/
void __set_PSP(uint32_t topOfProcStack);

Expand Down Expand Up @@ -300,7 +300,7 @@ void __set_PSP(uint32_t topOfProcStack);

\sa
- \ref __set_MSP; __get_PSP; __get_CONTROL
- \ref ref_man_sec
- \ref ref_man_sec "Cortex-M Generic User Guides"

*/
uint32_t __get_MSP(void);
Expand Down Expand Up @@ -331,7 +331,7 @@ uint32_t __get_MSP(void);

\sa
- \ref __get_MSP; __set_PSP; __set_CONTROL
- \ref ref_man_sec
- \ref ref_man_sec "Cortex-M Generic User Guides"

*/
void __set_MSP(uint32_t topOfMainStack);
Expand All @@ -352,8 +352,8 @@ void __set_MSP(uint32_t topOfMainStack);

\sa
- \ref __set_PRIMASK; __get_BASEPRI; __get_FAULTMASK
- \ref ref_man_sec
- \ref ref_man_sec "Cortex-M Generic User Guides"

*/
uint32_t __get_PRIMASK(void);

Expand All @@ -380,7 +380,7 @@ uint32_t __get_PRIMASK(void);

\sa
- \ref __get_PRIMASK; __set_BASEPRI; __set_FAULTMASK
- \ref ref_man_sec
- \ref ref_man_sec "Cortex-M Generic User Guides"

*/
void __set_PRIMASK(uint32_t priMask);
Expand All @@ -402,7 +402,7 @@ void __set_PRIMASK(uint32_t priMask);

\sa
- \ref __set_BASEPRI; __set_BASEPRI_MAX; __get_FAULTMASK; __get_PRIMASK
- \ref ref_man_sec
- \ref ref_man_sec "Cortex-M Generic User Guides"

*/
uint32_t __get_BASEPRI(void);
Expand All @@ -426,7 +426,7 @@ uint32_t __get_BASEPRI(void);

\sa
- \ref __get_BASEPRI; __set_BASEPRI_MAX; __set_FAULTMASK; __set_PRIMASK
- \ref ref_man_sec
- \ref ref_man_sec "Cortex-M Generic User Guides"

*/
void __set_BASEPRI(uint32_t basePri);
Expand All @@ -451,8 +451,8 @@ void __set_BASEPRI(uint32_t basePri);

\sa
- \ref __set_BASEPRI; __get_BASEPRI; __set_FAULTMASK; __set_PRIMASK
- \ref ref_man_sec
- \ref ref_man_sec "Cortex-M Generic User Guides"

*/
void __set_BASEPRI_MAX(uint32_t basePri);

Expand All @@ -473,7 +473,7 @@ void __set_BASEPRI_MAX(uint32_t basePri);

\sa
- \ref __set_FAULTMASK; __get_BASEPRI; __get_PRIMASK
- \ref ref_man_sec
- \ref ref_man_sec "Cortex-M Generic User Guides"
*/
uint32_t __get_FAULTMASK(void);

Expand Down Expand Up @@ -507,7 +507,7 @@ uint32_t __get_FAULTMASK(void);

\sa
- \ref __get_FAULTMASK; __set_BASEPRI; __set_PRIMASK
- \ref ref_man_sec
- \ref ref_man_sec "Cortex-M Generic User Guides"
*/
void __set_FAULTMASK(uint32_t faultMask);

Expand All @@ -528,8 +528,8 @@ void __set_FAULTMASK(uint32_t faultMask);

\sa
- \ref __set_FPSCR
- \ref ref_man_sec
- \ref ref_man_sec "Cortex-M Generic User Guides"

*/
uint32_t __get_FPSCR(void);

Expand Down Expand Up @@ -612,7 +612,7 @@ uint32_t __get_FPSCR(void);

\sa
- \ref __get_FPSCR
- \ref ref_man_sec
- \ref ref_man_sec "Cortex-M Generic User Guides"
*/
void __set_FPSCR(uint32_t fpscr);

Expand Down
32 changes: 16 additions & 16 deletions CMSIS/Documentation/Doxygen/Core/src/ref_nvic.txt
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ typedef enum IRQn

\sa
- \ref NVIC_GetPriorityGrouping; NVIC_SetPriority; SCB_Type
- \ref ref_man_sec
- \ref ref_man_sec "Cortex-M Generic User Guides"
*/
void NVIC_SetPriorityGrouping(uint32_t PriorityGroup);

Expand All @@ -438,7 +438,7 @@ void NVIC_SetPriorityGrouping(uint32_t PriorityGroup);

\sa
- \ref NVIC_SetPriorityGrouping; NVIC_GetPriority; SCB_Type
- \ref ref_man_sec
- \ref ref_man_sec "Cortex-M Generic User Guides"

*/
uint32_t NVIC_GetPriorityGrouping(void);
Expand Down Expand Up @@ -466,7 +466,7 @@ uint32_t NVIC_GetPriorityGrouping(void);

\sa
- \ref NVIC_DisableIRQ; SCnSCB_Type;
- \ref ref_man_sec
- \ref ref_man_sec "Cortex-M Generic User Guides"
*/
void NVIC_EnableIRQ(IRQn_Type IRQn);

Expand All @@ -490,7 +490,7 @@ void NVIC_EnableIRQ(IRQn_Type IRQn);

\sa
- \ref NVIC_EnableIRQ; NVIC_DisableIRQ;
- \ref ref_man_sec
- \ref ref_man_sec "Cortex-M Generic User Guides"
*/
uint32_t NVIC_GetEnableIRQ(IRQn_Type IRQn);

Expand All @@ -511,7 +511,7 @@ uint32_t NVIC_GetEnableIRQ(IRQn_Type IRQn);

\sa
- \ref NVIC_EnableIRQ
- \ref ref_man_sec
- \ref ref_man_sec "Cortex-M Generic User Guides"
*/
void NVIC_DisableIRQ(IRQn_Type IRQn);

Expand All @@ -534,7 +534,7 @@ void NVIC_DisableIRQ(IRQn_Type IRQn);

\sa
- \ref NVIC_SetPendingIRQ; NVIC_ClearPendingIRQ
- \ref ref_man_sec
- \ref ref_man_sec "Cortex-M Generic User Guides"
*/
uint32_t NVIC_GetPendingIRQ(IRQn_Type IRQn);

Expand All @@ -554,7 +554,7 @@ uint32_t NVIC_GetPendingIRQ(IRQn_Type IRQn);

\sa
- \ref NVIC_GetPendingIRQ; NVIC_ClearPendingIRQ
- \ref ref_man_sec
- \ref ref_man_sec "Cortex-M Generic User Guides"
*/
void NVIC_SetPendingIRQ(IRQn_Type IRQn);

Expand All @@ -575,7 +575,7 @@ void NVIC_SetPendingIRQ(IRQn_Type IRQn);

\sa
- \ref NVIC_SetPendingIRQ; NVIC_GetPendingIRQ
- \ref ref_man_sec
- \ref ref_man_sec "Cortex-M Generic User Guides"
*/
void NVIC_ClearPendingIRQ(IRQn_Type IRQn);

Expand All @@ -602,7 +602,7 @@ void NVIC_ClearPendingIRQ(IRQn_Type IRQn);
previous interrupt is still defined as active.

\sa
- \ref ref_man_sec
- \ref ref_man_sec "Cortex-M Generic User Guides"

*/
uint32_t NVIC_GetActive(IRQn_Type IRQn);
Expand Down Expand Up @@ -643,7 +643,7 @@ uint32_t NVIC_GetActive(IRQn_Type IRQn);

\sa
- \ref NVIC_GetPriority; NVIC_SetPriorityGrouping; __set_BASEPRI;
- \ref ref_man_sec
- \ref ref_man_sec "Cortex-M Generic User Guides"
*/
void NVIC_SetPriority(IRQn_Type IRQn, uint32_t priority);

Expand All @@ -668,7 +668,7 @@ void NVIC_SetPriority(IRQn_Type IRQn, uint32_t priority);

\sa
- \ref NVIC_SetPriority; NVIC_GetPriorityGrouping; __get_BASEPRI;
- \ref ref_man_sec
- \ref ref_man_sec "Cortex-M Generic User Guides"
*/
uint32_t NVIC_GetPriority(IRQn_Type IRQn);

Expand All @@ -694,7 +694,7 @@ uint32_t NVIC_GetPriority(IRQn_Type IRQn);

\sa
- \ref NVIC_DecodePriority; NVIC_SetPriority;
- \ref ref_man_sec
- \ref ref_man_sec "Cortex-M Generic User Guides"
*/
uint32_t NVIC_EncodePriority (uint32_t PriorityGroup, uint32_t PreemptPriority, uint32_t SubPriority);

Expand All @@ -719,7 +719,7 @@ uint32_t NVIC_EncodePriority (uint32_t PriorityGroup, uint32_t PreemptPriority,

\sa
- \ref NVIC_EncodePriority; NVIC_GetPriority; NVIC_GetPriorityGrouping;
- \ref ref_man_sec
- \ref ref_man_sec "Cortex-M Generic User Guides"
*/
void NVIC_DecodePriority (uint32_t Priority, uint32_t PriorityGroup, uint32_t* pPreemptPriority, uint32_t* pSubPriority);

Expand All @@ -739,7 +739,7 @@ void NVIC_DecodePriority (uint32_t Priority, uint32_t PriorityGroup, uint32_t* p

\sa
- \ref NVIC_SetVector
- \ref ref_man_sec
- \ref ref_man_sec "Cortex-M Generic User Guides"
*/
uint32_t NVIC_GetVector(IRQn_Type IRQn);

Expand All @@ -759,7 +759,7 @@ uint32_t NVIC_GetVector(IRQn_Type IRQn);

\sa
- \ref NVIC_GetVector
- \ref ref_man_sec
- \ref ref_man_sec "Cortex-M Generic User Guides"
*/
void NVIC_SetVector(IRQn_Type IRQn, uint32_t vector);

Expand All @@ -775,7 +775,7 @@ void NVIC_SetVector(IRQn_Type IRQn, uint32_t vector);
most parts of the system, but should not affect the debug system.

\sa
- \ref ref_man_sec
- \ref ref_man_sec "Cortex-M Generic User Guides"
*/
void NVIC_SystemReset (void);

Expand Down
Loading
Loading