1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- #ifndef NRF_SD_DEF_H__
- #define NRF_SD_DEF_H__
- #include <stdint.h>
- #include "nrf_soc.h"
- #ifdef __cplusplus
- extern "C" {
- #endif
- #ifdef NRF_SOC_SD_PPI_CHANNELS_SD_ENABLED_MSK
- #define SD_PPI_CHANNELS_USED NRF_SOC_SD_PPI_CHANNELS_SD_ENABLED_MSK
- #else
- #define SD_PPI_CHANNELS_USED 0xFFFE0000uL
- #endif
- #ifdef NRF_SOC_SD_PPI_GROUPS_SD_ENABLED_MSK
- #define SD_PPI_GROUPS_USED NRF_SOC_SD_PPI_GROUPS_SD_ENABLED_MSK
- #else
- #define SD_PPI_GROUPS_USED 0x00000030uL
- #endif
- #define SD_TIMERS_USED 0x00000001uL
- #define SD_SWI_USED 0x00000036uL
- #ifdef __cplusplus
- }
- #endif
- #endif
|