Functions#

This section provides a reference to the External Host Interface API Functions.

Functions#

void
sl_si91x_host_delay_ms(uint32_t delay_milliseconds)

This API used to block MCU for specified time.

sl_si91x_host_timestamp_t

It retrieves a timestamp.

sl_si91x_host_timestamp_t
sl_si91x_host_elapsed_time(uint32_t starting_timestamp)

This API calculates the timestamp difference.

bool

Checks if the device is initialized.

void

Sets sleep Indication GPIO to LOW.

Function Documentation#

sl_si91x_host_delay_ms#

void sl_si91x_host_delay_ms (uint32_t delay_milliseconds)

This API used to block MCU for specified time.

Parameters
[in]delay_milliseconds

time delay in milliseconds


Definition at line 245 of file components/device/silabs/si91x/wireless/inc/sl_rsi_utility.h

sl_si91x_host_get_timestamp#

sl_si91x_host_timestamp_t sl_si91x_host_get_timestamp (void )

It retrieves a timestamp.

Parameters
N/A

Returns

  • sl_si91x_host_timestamp_t


Definition at line 252 of file components/device/silabs/si91x/wireless/inc/sl_rsi_utility.h

sl_si91x_host_elapsed_time#

sl_si91x_host_timestamp_t sl_si91x_host_elapsed_time (uint32_t starting_timestamp)

This API calculates the timestamp difference.

Parameters
[in]starting_timestamp

This parameter is used to calculate the elapsed time.

Returns

  • sl_si91x_host_timestamp_t


Definition at line 262 of file components/device/silabs/si91x/wireless/inc/sl_rsi_utility.h

sl_si91x_is_device_initialized#

bool sl_si91x_is_device_initialized (void )

Checks if the device is initialized.

Parameters
N/A

This function is used to verify if the device has been properly initialized.

Returns

  • bool. Returns true if the device is initialized, false otherwise.


Definition at line 432 of file components/device/silabs/si91x/wireless/inc/sl_rsi_utility.h

sl_si91x_host_clear_sleep_indicator#

void sl_si91x_host_clear_sleep_indicator (void )

Sets sleep Indication GPIO to LOW.

Parameters
N/A

Definition at line 122 of file components/device/silabs/si91x/wireless/inc/sl_si91x_host_interface.h