22 #include "nrf_error.h"
23 #include "nrf_assert.h"
64 return NRF_ERROR_INVALID_PARAM;
78 return NRF_ERROR_INVALID_PARAM;
86 return NRF_ERROR_INVALID_PARAM;
94 return NRF_ERROR_INVALID_PARAM;
102 return NRF_ERROR_INVALID_PARAM;
109 if (p_temperature == NULL)
110 return NRF_ERROR_INVALID_PARAM;
static volatile uint16_t m_temp
uint32_t ptu_hal_temperature_get(int16_t *p_temperature)
Read the board temperature.
static volatile uint16_t m_itx
uint32_t ptu_hal_poweramp_level_get(uint16_t *level)
Get output level setting of power amplifier.
static volatile uint16_t m_poweramp_level
uint32_t ptu_hal_vtx_get(uint16_t *p_vtx)
Read resonator voltage.
uint32_t ptu_hal_poweramp_enable_set(bool enable)
Enable power amplifier output (resonator power on).
static volatile uint16_t m_vtx
#define PTU_POWERAMP_INPUT_DEFAULT
uint32_t ptu_hal_ptx_get(uint16_t *p_ptx)
Read resonator voltage.
uint32_t ptu_hal_poweramp_enable_get(bool *enable)
Get status of power amplifier output enable (resonator power on).
uint32_t ptu_hal_init(void)
Initialize the PTU's Hardware abstraction layer.
uint32_t ptu_hal_poweramp_level_set(uint16_t level)
Set output level of power amplifier (resonator power).
#define PTU_TEMPERATUR_DEFAULT
uint32_t ptu_hal_itx_get(uint16_t *p_itx)
Read the value of ITX.
static volatile bool m_poweramp_enable