BSP Configuration Settings - 2023.2 English

Standalone Library Documentation: BSP and Libraries Document Collection (UG643)

Document ID
UG643
Release Date
2023-12-13
Version
2023.2 English

For using sleep functionality, use sleep, msleep, or usleep APIs that provide delay in multiples of seconds, milliseconds, and microseconds.

For configuring interval timer functionality, execute the following steps.

  1. Configure the interval period in XTimer_SetInterval API
  2. Register the internal timer handler in XTimer_SetHandler API. This API is executed when the interval time expires.

For using sleep functionality, use sleep, msleep, or usleep APIs that provide delay in multiples of seconds, milliseconds, and microseconds.

Note: By default, XilTimer library is disabled. You can enable it through the library software configuration wizard.

For configuring interval timer functionality, execute the following steps.

  1. Configure the interval period in XTimer_SetInterval API
  2. Register the internal timer handler in XTimer_SetHandler API. This API is executed when the interval time expires.

XilTimer provides the following user configuration BSP settings.

Note: By default, XilTimer library is disabled. You can enable it through the library software configuration wizard.
Table 1. BSP Configuration Settings
Parameter Name Type Description
sleep timer peripheral_instance This parameter selects specific timer for sleep functionality
interval_timer peripheral_instance This parameter selects specific timer for interval timer functionality
en_interval_timer bool This parameter enables Interval Time (Default value is false)