Device Init#

Functions#

int16_t

Power cycle the module.This API is valid only if there is a power gate, external to the module,which is controlling the power to the module using a GPIO signal of the MCU.

int32_t

Get the rom version of the module.

Function Documentation#

rsi_bl_module_power_cycle#

int16_t rsi_bl_module_power_cycle (void )

Power cycle the module.This API is valid only if there is a power gate, external to the module,which is controlling the power to the module using a GPIO signal of the MCU.

Parameters
[in]
  • rsi_driver_init() must be called before this API.

Returns

  • 0 - Success Non-Zero Value - Failure


Definition at line 102 of file driver/rsi_device_init.c

References SL_PRINTF , and RSI_SUCCESS

rsi_get_rom_version#

int32_t rsi_get_rom_version (void )

Get the rom version of the module.

Parameters
[in]

Returns

  • 1 - RSI_ROM_VERSION_1P0 2 - RSI_ROM_VERSION_1P1


Definition at line 432 of file driver/rsi_device_init.c