Nordic Semiconductor nRF5 AirFuel SDK
version 2.2.0
|
#include <stdbool.h>
#include <stdint.h>
#include <string.h>
#include "ptu_test_mux.h"
#include "ptu_hal.h"
#include "nrf_assert.h"
#include "ptu_hw_config.h"
#include "app_error.h"
Go to the source code of this file.
Functions | |
void | tmux_get_select (tmux_select_t select) |
Select source for all **tmux**get() functions. More... | |
void | tmux_set_select (tmux_select_t select) |
Select whether override values shall be used when writing to **hal**set() functions. More... | |
void | ptu_tmux_override_values_set (ptu_tmux_override_t *values) |
Set override values. More... | |
void | ptu_tmux_override_values_get (ptu_tmux_override_t *values) |
Get ovveride values. More... | |
API implementation. | |
uint32_t | tmux_init (void) |
Initialize the PTU's test multiplexer. More... | |
uint32_t | ptu_tmux_poweramp_enable_set (bool enable) |
Test wrapper for ptu_hal_poweramp_enable_set(). More... | |
uint32_t | ptu_tmux_poweramp_level_set (uint16_t level) |
Test wrapper for ptu_hal_poweramp_level_set(). More... | |
uint32_t | ptu_tmux_poweramp_enable_get (bool *enable) |
Test wrapper for ptu_hal_poweramp_enable_get();. More... | |
uint32_t | ptu_tmux_poweramp_level_get (uint16_t *p_level) |
Test wrapper for ptu_hal_poweramp_level_get(). More... | |
uint32_t | ptu_tmux_itx_get (uint16_t *p_itx) |
Test wrapper for ptu_hal_itx_get(). More... | |
uint32_t | ptu_tmux_vtx_get (uint16_t *p_vtx) |
Test wrapper for ptu_hal_vtx_get(). More... | |
uint32_t | ptu_tmux_ptx_get (uint16_t *p_ptx) |
Test wrapper for ptu_hal_ptx_get(). More... | |
uint32_t | ptu_tmux_temperature_get (int16_t *p_temperature) |
Test wrapper for ptu_hal_temperature_get(). More... | |
Static funcitons and variables. | |
static tmux_select_t | get_mux_select |
static tmux_select_t | set_mux_select |
static ptu_tmux_override_t | override_values |
static void | m_update_hal_from_override_values (void) |
Write all override values to **hal**set() functions if overriding of **set functions is enabled. | |
|
static |
Multiplexer setting for **hal**get() functions
Definition at line 30 of file ptu_test_mux.c.
|
static |
Multiplexer setting for **hal**set() functions
Definition at line 31 of file ptu_test_mux.c.
|
static |
Collection of override values
Definition at line 32 of file ptu_test_mux.c.