Gather RAIL TrustZone callbacks pointers and booleans indicating peripheral secure configuration.

Public Attributes#

bool

Indicate whether CMU is configured as secure peripheral.

bool

Indicate whether EMU is configured as secure peripheral.

bool

Indicate whether GPIO is configured as secure peripheral.

bool

Indicate whether LDMA is configured as secure peripheral.

bool

Indicate whether HFXO is configured as secure peripheral.

bool

Indicate whether PRS is configured as secure peripheral.

bool

Indicate whether SYSRTC is configured as secure peripheral.

Public Attribute Documentation#

changed_dcdc_callback#

sl_rail_tz_changed_dcdc_callback_t sl_rail_tz_config_t::changed_dcdc_callback

See sl_rail_tz_changed_dcdc_callback_t().

In non-secure world, it must be NULL if CMU is a non-secure peripheral.


config_antenna_gpio_callback#

sl_rail_tz_config_antenna_gpio_callback_t sl_rail_tz_config_t::config_antenna_gpio_callback

See sl_rail_tz_config_antenna_gpio_callback_t().

In non-secure world, it must be NULL if CMU and GPIO are non-secure peripherals.


radio_clock_enable_callback#

sl_rail_tz_radio_clock_enable_callback_t sl_rail_tz_config_t::radio_clock_enable_callback

See sl_rail_tz_radio_clock_enable_callback_t().

In non-secure world, it must be NULL if CMU is a non-secure peripheral.


get_radio_clock_freq_hz_callback#

sl_rail_tz_get_radio_clock_freq_hz_callback_t sl_rail_tz_config_t::get_radio_clock_freq_hz_callback

See sl_rail_tz_get_radio_clock_freq_hz_callback_t().

In non-secure world, it must be NULL if CMU is a non-secure peripheral.


rfeca_clock_enable_callback#

sl_rail_tz_rfeca_clock_enable_callback_t sl_rail_tz_config_t::rfeca_clock_enable_callback

See sl_rail_tz_rfeca_clock_enable_callback_t().

In non-secure world, it must be NULL if CMU is a non-secure peripheral.


rfeca_is_clock_enabled_callback#

sl_rail_tz_rfeca_is_clock_enabled_callback_t sl_rail_tz_config_t::rfeca_is_clock_enabled_callback

See sl_rail_tz_rfeca_is_clock_enabled_callback_t().

In non-secure world, it must be NULL if CMU is a non-secure peripheral.


read_internal_temperature_callback#

sl_rail_tz_read_internal_temperature_callback_t sl_rail_tz_config_t::read_internal_temperature_callback

See sl_rail_tz_read_internal_temperature_callback_t().

In non-secure world, it must be NULL if EMU is a non-secure peripheral.


enable_secure_radio_irqs_callback#

sl_rail_tz_enable_secure_radio_irqs_callback_t sl_rail_tz_config_t::enable_secure_radio_irqs_callback

See sl_rail_tz_enable_secure_radio_irqs_callback_t().

In non-secure world, it must be NULL if EMU is a non-secure peripheral.


disable_secure_radio_irqs_callback#

sl_rail_tz_disable_secure_radio_irqs_callback_t sl_rail_tz_config_t::disable_secure_radio_irqs_callback

See sl_rail_tz_disable_secure_radio_irqs_callback_t().

In non-secure world, it must be NULL if EMU is a non-secure peripheral.


radio_perform_m2m_ldma_callback#

sl_rail_tz_radio_perform_m2m_ldma_callback_t sl_rail_tz_config_t::radio_perform_m2m_ldma_callback

See sl_rail_tz_radio_perform_m2m_ldma_callback_t().

In non-secure world, it must be NULL if LDMA is a non-secure peripheral or if RAIL must not use LDMA.


configure_hfxo_callback#

sl_rail_tz_configure_hfxo_callback_t sl_rail_tz_config_t::configure_hfxo_callback

See sl_rail_tz_configure_hfxo_callback_t().

In non-secure world, it must be NULL if HFXO is a non-secure peripheral.


is_cmu_secure#

bool sl_rail_tz_config_t::is_cmu_secure

Indicate whether CMU is configured as secure peripheral.


is_emu_secure#

bool sl_rail_tz_config_t::is_emu_secure

Indicate whether EMU is configured as secure peripheral.


is_gpio_secure#

bool sl_rail_tz_config_t::is_gpio_secure

Indicate whether GPIO is configured as secure peripheral.


is_ldma_secure#

bool sl_rail_tz_config_t::is_ldma_secure

Indicate whether LDMA is configured as secure peripheral.


is_hfxo_secure#

bool sl_rail_tz_config_t::is_hfxo_secure

Indicate whether HFXO is configured as secure peripheral.


is_prs_secure#

bool sl_rail_tz_config_t::is_prs_secure

Indicate whether PRS is configured as secure peripheral.


is_sysrtc_secure#

bool sl_rail_tz_config_t::is_sysrtc_secure

Indicate whether SYSRTC is configured as secure peripheral.