| Nordic Thingy:52 v2.0.0

Functions
User interface flash configuration
Thingy modules » User interface

User interface module flash configuration. More...

## Functions

uint32_t | m_ui_flash_config_load (ble_uis_led_t **p_config)
| Function for storing the configuration. More...
uint32_t | m_ui_flash_config_store (const ble_uis_led_t *p_config)
| Function for storing the configuration. More...
uint32_t | m_ui_flash_init (const ble_uis_led_t *p_default_config, ble_uis_led_t **p_config)
| Function for initializing weather station flash handling. More...

## Detailed Description

User interface module flash configuration.

## Function Documentation

## ◆ m_ui_flash_config_load()

uint32_t m_ui_flash_config_load | ( | ble_uis_led_t ** | p_config | ) |

Function for storing the configuration.

Parameters

  [out] | p_config | Pointer to loaded configuration.

Return values

  NRF_SUCCESS | Operation was successful.
  Other | codes from the underlying drivers.

## ◆ m_ui_flash_config_store()

uint32_t m_ui_flash_config_store | ( | const ble_uis_led_t * | p_config | ) |

Function for storing the configuration.

Parameters

  [in] | p_config | Pointer to configuration to be stored.

Return values

  NRF_SUCCESS | Operation was successful.
  NRF_ERROR_NULL | If a NULL pointer was supplied.
  Other | codes from the underlying drivers.

## ◆ m_ui_flash_init()

uint32_t m_ui_flash_init | ( | const ble_uis_led_t * | p_default_config,
|  | ble_uis_led_t ** | p_config
| ) |  |

Function for initializing weather station flash handling.

Parameters

  [in] | p_default_config | Pointer to default configuration.
  [out] | p_config | Pointer to current configuration.

Return values

  NRF_SUCCESS | Operation was successful.
  NRF_ERROR_NULL | If a NULL pointer was supplied.
  Other | codes from the underlying drivers.