feat(ds): use RCC atomic block to enable/reset the DS peripheral
This commit is contained in:
@@ -17,10 +17,12 @@ extern "C" {
|
||||
#define MPI_RCC_ATOMIC()
|
||||
#define ECC_RCC_ATOMIC()
|
||||
#define HMAC_RCC_ATOMIC()
|
||||
#define DS_RCC_ATOMIC()
|
||||
#else /* !SOC_RCC_IS_INDEPENDENT */
|
||||
#define MPI_RCC_ATOMIC() PERIPH_RCC_ATOMIC()
|
||||
#define ECC_RCC_ATOMIC() PERIPH_RCC_ATOMIC()
|
||||
#define HMAC_RCC_ATOMIC() PERIPH_RCC_ATOMIC()
|
||||
#define DS_RCC_ATOMIC() PERIPH_RCC_ATOMIC()
|
||||
#endif /* SOC_RCC_IS_INDEPENDENT */
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
Reference in New Issue
Block a user