AnsweredAssumed Answered

'SCB_AIRCR' undeclared

Question asked by Viet Nguyen on Jul 18, 2019
Latest reply on Jul 19, 2019 by Viet Nguyen

I tried to implement a software reset for my LPCXpresso54628 development board using MCUXpresso IDE V10.3.0.

I am using this macro that I saw from one post:

#define Reset()      (SCB_AIRCR = (0x5FA<<SCB_AIRCR_VECTKEY_Pos) | SCB_AIRCR_SYSRESETREQ_Msk)

 

I also used this 'include' file:

#include "core_cm4.h"

But when I compiled, I got this error:

'SCB_AIRCR' undeclared

 

Please anyone tell me where I can find the definition of this SCB_AIRCR register.

Thanks.

Outcomes