TEMP HALY

group nrfy_temp

Hardware access layer with cache and barrier support for managing the Temperature sensor (TEMP).

Defines

NRFY_TEMP_HAS_CALIBRATION

@refhal{NRF_TEMP_HAS_CALIBRATION}

Functions

NRFY_STATIC_INLINE void nrfy_temp_int_init(NRF_TEMP_Type *p_reg, uint32_t mask, uint8_t irq_priority, bool enable)

Function for initializing the specified TEMP interrupts.

Parameters:
  • p_reg[in] Pointer to the structure of registers of the peripheral.

  • mask[in] Mask of interrupts to be initialized.

  • irq_priority[in] Interrupt priority.

  • enable[in] True if the interrupts are to be enabled, false otherwise.

NRFY_STATIC_INLINE void nrfy_temp_int_uninit(NRF_TEMP_Type *p_reg)

Function for uninitializing the TEMP interrupts.

Parameters:
  • p_reg[in] Pointer to the structure of registers of the peripheral.

NRFY_STATIC_INLINE void nrfy_temp_int_enable(NRF_TEMP_Type *p_reg, uint32_t mask)

@refhal{nrf_temp_int_enable}

NRFY_STATIC_INLINE void nrfy_temp_int_disable(NRF_TEMP_Type *p_reg, uint32_t mask)

@refhal{nrf_temp_int_disable}

NRFY_STATIC_INLINE uint32_t nrfy_temp_int_enable_check(NRF_TEMP_Type const *p_reg, uint32_t mask)

@refhal{nrf_temp_int_enable_check}

NRFY_STATIC_INLINE uint32_t nrfy_temp_task_address_get(NRF_TEMP_Type const *p_reg, nrf_temp_task_t task)

@refhal{nrf_temp_task_address_get}

NRFY_STATIC_INLINE void nrfy_temp_task_trigger(NRF_TEMP_Type *p_reg, nrf_temp_task_t task)

@refhal{nrf_temp_task_trigger}

NRFY_STATIC_INLINE uint32_t nrfy_temp_event_address_get(NRF_TEMP_Type const *p_reg, nrf_temp_event_t event)

@refhal{nrf_temp_event_address_get}

NRFY_STATIC_INLINE void nrfy_temp_event_clear(NRF_TEMP_Type *p_reg, nrf_temp_event_t event)

@refhal{nrf_temp_event_clear}

NRFY_STATIC_INLINE bool nrfy_temp_event_check(NRF_TEMP_Type const *p_reg, nrf_temp_event_t event)

@refhal{nrf_temp_event_check}

NRFY_STATIC_INLINE int32_t nrfy_temp_result_get(NRF_TEMP_Type const *p_reg)

@refhal{nrf_temp_result_get}

NRFY_STATIC_INLINE void nrfy_temp_calibration_coeff_set(NRF_TEMP_Type *p_reg, uint32_t coeff)

@refhal{nrf_temp_calibration_coeff_set}

NRFY_STATIC_INLINE uint32_t nrfy_temp_calibration_coeff_get(NRF_TEMP_Type const *p_reg)

@refhal{nrf_temp_calibration_coeff_get}

NRFY_STATIC_INLINE void nrfy_temp_subscribe_set(NRF_TEMP_Type *p_reg, nrf_temp_task_t task, uint8_t channel)

@refhal{nrf_temp_subscribe_set}

NRFY_STATIC_INLINE void nrfy_temp_subscribe_clear(NRF_TEMP_Type *p_reg, nrf_temp_task_t task)

@refhal{nrf_temp_subscribe_clear}

NRFY_STATIC_INLINE void nrfy_temp_publish_set(NRF_TEMP_Type *p_reg, nrf_temp_event_t event, uint8_t channel)

@refhal{nrf_temp_publish_set}

NRFY_STATIC_INLINE void nrfy_temp_publish_clear(NRF_TEMP_Type *p_reg, nrf_temp_event_t event)

@refhal{nrf_temp_publish_clear}