feat(ds): use RCC atomic block to enable/reset the DS peripheral

This commit is contained in:
harshal.patil
2023-09-15 17:25:18 +05:30
parent 18b93e9564
commit 43864f7fb4
10 changed files with 169 additions and 10 deletions
@@ -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