/** * @brief Function for switching the SPI clock to high speed mode. */ __STATIC_INLINE void sdc_spi_hispeed(void) { #ifdef SPI_PRESENT nrf_spi_frequency_set(m_spi.u.spi.p_reg, (nrf_spi_frequency_t) APP_SDCARD_FREQ_DATA); #else nrf_spim_frequency_set(m_spi.u.spim.p_reg, (nrf_spi_frequency_t) APP_SDCARD_FREQ_DATA); #endif }
/** * @brief Function for switching the SPI clock to high speed mode. */ __STATIC_INLINE void sdc_spi_hispeed(void) { nrf_spi_frequency_set((NRF_SPI_Type *)m_spi.p_registers, (nrf_spi_frequency_t) APP_SDCARD_FREQ_DATA); }