Device Init#
Functions#
Get the ROM version of the module.
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.
[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
448
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.
[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.
rsi_driver_init() must be called before this API.
Returns
0 - Success
Non-Zero Value - Failure
Note
Precondition - rsi_driver_init() must be called before this API.
rsi_driver_init() must be called before this API.
Returns
0 - Success Non-Zero Value - Failure
630
of file driver/rsi_device_init.c