Nordic Semiconductor nRF5 AirFuel SDK
version 2.2.0
|
#include <stdbool.h>
#include <stdint.h>
#include <string.h>
#include "ptu_hw_config.h"
#include "nrf_error.h"
#include "nrf_assert.h"
Go to the source code of this file.
Functions | |
API implementation | |
uint32_t | ptu_hal_init (void) |
Initialize the PTU's Hardware abstraction layer. More... | |
uint32_t | ptu_hal_poweramp_enable_set (bool enable) |
Enable power amplifier output (resonator power on). More... | |
uint32_t | ptu_hal_poweramp_enable_get (bool *enable) |
Get status of power amplifier output enable (resonator power on). More... | |
uint32_t | ptu_hal_poweramp_level_set (uint16_t level) |
Set output level of power amplifier (resonator power). More... | |
uint32_t | ptu_hal_poweramp_level_get (uint16_t *level) |
Get output level setting of power amplifier. More... | |
uint32_t | ptu_hal_itx_get (uint16_t *p_itx) |
Read the value of ITX. More... | |
uint32_t | ptu_hal_vtx_get (uint16_t *p_vtx) |
Read resonator voltage. More... | |
uint32_t | ptu_hal_ptx_get (uint16_t *p_ptx) |
Read resonator voltage. More... | |
uint32_t | ptu_hal_temperature_get (int16_t *p_temperature) |
Read the board temperature. More... | |
Variables | |
Static functions and variables | |
static volatile uint16_t | m_itx |
static volatile uint16_t | m_vtx |
static volatile uint16_t | m_temp |
static volatile uint16_t | m_poweramp_level |
static volatile bool | m_poweramp_enable |
|
static |
[mA]
Definition at line 31 of file ptu_hal_evkit.c.
|
static |
[mV]
Definition at line 32 of file ptu_hal_evkit.c.
|
static |
[Deg C]
Definition at line 33 of file ptu_hal_evkit.c.
|
static |
[implementation specific]
Definition at line 34 of file ptu_hal_evkit.c.
|
static |
[Deg C]
Definition at line 35 of file ptu_hal_evkit.c.