Skip to content

Commit e16f161

Browse files
jerome-pouillerjhedberg
authored andcommitted
wiseconnect: Drop orphan RSI_QSPI_TIMER_Config()
The functions RSI_TIMERS_*() are not available in hal_silabs. Fortunately, the RSI_QSPI_TIMER_Config() is orphan, so we can safely drop it. Signed-off-by: Jérôme Pouiller <[email protected]>
1 parent 1e72009 commit e16f161

File tree

1 file changed

+0
-21
lines changed
  • wiseconnect/components/device/silabs/si91x/mcu/drivers/peripheral_drivers/src

1 file changed

+0
-21
lines changed

wiseconnect/components/device/silabs/si91x/mcu/drivers/peripheral_drivers/src/rsi_qspi.c

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2638,27 +2638,6 @@ void qspi_spi_read(qspi_reg_t *qspi_reg,
26382638
}
26392639
}
26402640

2641-
/*==============================================*/
2642-
/**
2643-
* @fn void RSI_QSPI_TIMER_Config(void)
2644-
* @brief This API is used to configure the qspi timer.
2645-
* @return none
2646-
*/
2647-
void RSI_QSPI_TIMER_Config(void)
2648-
{
2649-
// Timer clock config 32Mhz clock
2650-
ulpss_time_clk_config(ULPCLK, ENABLE_STATIC_CLK, 0, ULP_TIMER_MHZ_RC_CLK, 1);
2651-
// Sets periodic mode
2652-
RSI_TIMERS_SetTimerMode(TIMERS, PERIODIC_TIMER, TIMER_0);
2653-
// Sets timer in 1 Micro second mode
2654-
RSI_TIMERS_SetTimerType(TIMERS, MICRO_SEC_MODE, TIMER_0);
2655-
// 1 Micro second timer configuration
2656-
// Micro sec clock is 32 MHZ, but it may vary from 20MHZ to 47MHZ.
2657-
// So we are programming max freq for Timer to configure Time Period
2658-
// FIXME , Option to configure from mbr
2659-
RSI_TIMERS_MicroSecTimerConfig(TIMERS, TIMER_0, 80, 0, MICRO_SEC_MODE);
2660-
}
2661-
26622641
/*==============================================*/
26632642
/**
26642643
* @fn void qspi_usleep(uint32_t delay)

0 commit comments

Comments
 (0)