Our website is under construction. Please stay tuned!

dwm_int_cfg_get

Reads configuration flags that, if set, enable the setting Off a dedicated GPIO pin (CORE_INT) in case of an event internal to the DWM module.
This call is available only on UART/SPI interfaces.
void dwm_int_cfg_get(void)
Parameters
  • input – (none)

  • outputStatus code, spi_data_ready, loc_ready, bh_status_changed, bh_data_ready bh_initialized_changed, uwb_scan_ready, usr_data_ready, :param uwbmac_joined_changed

  • spi_data_ready – ‘0’ | ‘1’ (new SPI data generates interrupt on dedicated GPIO pin , 0=disable, 1=enable)

  • loc_ready – ‘0’ | ‘1’ (interrupt is generated when location data are ready, 0=disable, 1=enable)

  • bh_status_changed – ‘0’ | ‘1’ (UWBMAC status changed, 0=disable, 1=enable)

  • bh_data_ready – ‘0’ | ‘1’ (UWBMAC backhaul data ready, 0=disable, 1=enable)

  • bh_initialized_changed – ‘0’ | ‘1’ (UWBMAC route configured, 0=disabled, 1=enabled)

  • usr_data_ready – ‘0’ | ‘1’ (user data received over UWBMAC)

  • uwb_scan_ready – ‘0’ | ‘1’ (UWB scan result is available)

  • uwbmac_joined_changed – ‘0’ | ‘1’ (UWBMAC joined, 0=disabled, 1=enabled)

  • usr_data_sent – ‘0’ | ‘1’ (user data TX completed over UWBMAC)

C code example

Not available in the on-module user application. Available only on external interfaces (SPI, UART)

SPI/UART example

TLV Request

Type

Length

0x35

0x00

Type 0x35 means command dwm_int_cfg_get

TLV Response

Type

length

Value (see error codes)

Type

length

Value

0x40

0x01

0x00

0x47

0x02

interrupt configuration flags: reserved (bits 9-15) usr_data_sent (bit 8) uwbmac_joined_changed (bit 7) usr_data_ready (bit 6) uwb_scan_ready (bit 5) bh_initialized_changed (bit 4) bh_data_ready (bit 3) bh_status_changed (bit 2) spi_data_ready (bit 1) loc_ready (bit 0)

0x0E 0x00

Type 0x47 means interrupt configuration