Device Init#

Functions#

int32_t

Get the ROM version of the module.

int16_t

Power cycles 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.

Function Documentation#

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

Note

  • The return value of this API can be used to infer chip version of the module.
    1 - 1.4EVK
    2 - 1.5EVK


Definition at line 441 of file driver/rsi_device_init.c

rsi_bl_module_power_cycle#

int16_t rsi_bl_module_power_cycle (void )

Power cycles 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]

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.

Returns

  • 0 - Success

  • Non-Zero Value - Failure

Note

Returns

  • 0 - Success
    Non-Zero Value - Failure


Definition at line 623 of file driver/rsi_device_init.c

References SL_PRINTF , and RSI_SUCCESS