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.
-
NRF_STATIC_INLINE void nrfy_temp_int_enable(NRF_TEMP_Type *p_reg, uint32_t mask)
@refhal{nrf_temp_int_enable}
-
NRF_STATIC_INLINE void nrfy_temp_int_disable(NRF_TEMP_Type *p_reg, uint32_t mask)
@refhal{nrf_temp_int_disable}
-
NRF_STATIC_INLINE uint32_t nrfy_temp_int_enable_check(NRF_TEMP_Type const *p_reg, uint32_t mask)
@refhal{nrf_temp_int_enable_check}
-
NRF_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}
-
NRF_STATIC_INLINE void nrfy_temp_task_trigger(NRF_TEMP_Type *p_reg, nrf_temp_task_t task)
@refhal{nrf_temp_task_trigger}
-
NRF_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}
-
NRF_STATIC_INLINE void nrfy_temp_event_clear(NRF_TEMP_Type *p_reg, nrf_temp_event_t event)
@refhal{nrf_temp_event_clear}
-
NRF_STATIC_INLINE bool nrfy_temp_event_check(NRF_TEMP_Type const *p_reg, nrf_temp_event_t event)
@refhal{nrf_temp_event_check}
-
NRF_STATIC_INLINE int32_t nrfy_temp_result_get(NRF_TEMP_Type const *p_reg)
@refhal{nrf_temp_result_get}
-
NRF_STATIC_INLINE void nrfy_temp_calibration_coeff_set(NRF_TEMP_Type *p_reg, uint32_t coeff)
@refhal{nrf_temp_calibration_coeff_set}
-
NRF_STATIC_INLINE uint32_t nrfy_temp_calibration_coeff_get(NRF_TEMP_Type const *p_reg)
@refhal{nrf_temp_calibration_coeff_get}
-
NRFY_TEMP_HAS_CALIBRATION