Nordic Semiconductor nRF5 AirFuel SDK
version 2.2.0
|
#include <stdbool.h>
#include <stdint.h>
#include <string.h>
#include "pru_test_mux.h"
#include "pru_hal.h"
#include "nrf_error.h"
#include "nrf_assert.h"
#include "pru_hw_config.h"
Go to the source code of this file.
Functions | |
API implementation | |
uint32_t | tmux_init (void) |
Initialize the PTU's test multiplexer. More... | |
uint32_t | pru_tmux_vrect_get (uint16_t *p_vrect) |
Test wrapper for pru_hal_vrect_get(). More... | |
uint32_t | pru_tmux_irect_get (uint16_t *p_irect) |
Test wrapper for pru_hal_irect_get(). More... | |
uint32_t | pru_tmux_vout_enable_get (bool *enable) |
Test wrapper for pru_hal_vout_enable_get(). More... | |
uint32_t | pru_tmux_vout_get (uint16_t *p_vout) |
Test wrapper for pru_hal_vout_get(). More... | |
uint32_t | pru_tmux_iout_get (uint16_t *p_iout) |
Test wrapper for pru_hal_iout_get(). More... | |
uint32_t | pru_tmux_temperature_get (int16_t *p_temperature) |
Test wrapper for pru_hal_temperature_get(). More... | |
uint32_t | pru_tmux_wired_charge_detect_status_get (bool *p_wired) |
Test wrapper for pru_hal_wired_charge_detect_status_get(). More... | |
uint32_t | pru_tmux_charge_complete_status_get (bool *p_charge_complete) |
Test wrapper for pru_hal_charge_complete_status_get(). More... | |
uint32_t | pru_tmux_vout_enable_set (bool enable) |
Test wrapper for pru_hal_vout_enable_set(). More... | |
uint32_t | pru_tmux_adj_power_set (ctl_adj_power_t adj_setting) |
Test wrapper for pru_hal_adj_power_set(). More... | |
uint32_t | pru_tmux_adj_power_get (ctl_adj_power_t *adj_setting) |
Test wrapper for pru_hal_adj_power_get(). More... | |
uint32_t | pru_tmux_power_adjusted_get (bool *adjusted) |
Test wrapper for pru_hal_power_adjusted_get(). More... | |
uint32_t | pru_tmux_power_adjusted_set (bool adjusted) |
Test wrapper for pru_hal_power_adjusted_set(). More... | |
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 | pru_tmux_override_values_set (pru_tmux_override_t *values) |
Set override values. More... | |
void | pru_tmux_override_values_get (pru_tmux_override_t *values) |
Get ovveride values. More... | |
Static functions and variables | |
static tmux_select_t | get_mux_select |
static tmux_select_t | set_mux_select |
static pru_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 31 of file pru_test_mux.c.
|
static |
Multiplexer setting for **hal**set() functions
Definition at line 32 of file pru_test_mux.c.
|
static |
Collection of override values
Definition at line 33 of file pru_test_mux.c.