cm3: scs: drop (superseded) helper macros for systick
These are superseded by cm3/systick.h and the functions there. Reported originally under: https://github.com/libopencm3/libopencm3/issues/125
This commit is contained in:
parent
cfe514913f
commit
0c91dbf57e
@ -328,17 +328,4 @@
|
|||||||
/* CoreSight Lock Access key, common for all */
|
/* CoreSight Lock Access key, common for all */
|
||||||
#define SCS_LAR_KEY 0xC5ACCE55
|
#define SCS_LAR_KEY 0xC5ACCE55
|
||||||
|
|
||||||
#define SCS_SYSTICK_DISABLED() (SCS_SYST_CSR = 0)
|
|
||||||
|
|
||||||
/* Macro to be called at startup to Enable CortexMx SysTick (but IRQ not
|
|
||||||
* enabled)
|
|
||||||
*/
|
|
||||||
#define SCS_SYSTICK_ENABLED() (SCS_SYST_CSR = (SCS_SYST_CSR_ENABLE | \
|
|
||||||
SCS_SYST_CSR_CLKSOURCE))
|
|
||||||
|
|
||||||
/* Macro to be called at startup to Enable CortexMx SysTick and IRQ */
|
|
||||||
#define SCS_SYSTICK_AND_IRQ_ENABLED() (SCS_SYST_CSR = (SCS_SYST_CSR_ENABLE | \
|
|
||||||
SCS_SYST_CSR_CLKSOURCE | \
|
|
||||||
SCS_SYST_CSR_TICKINT))
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user