10#ifndef HAL_TCXO_V150_REGS_OP_H
11#define HAL_TCXO_V150_REGS_OP_H
16#include "tcxo_porting.h"
35static inline void hal_tcxo_status_set_enable(
void)
46static inline uint32_t hal_tcxo_status_get_enable(
void)
56static inline void hal_tcxo_status_set_clear(
void)
67static inline void hal_tcxo_status_set_refresh(
void)
78static inline uint32_t hal_tcxo_status_get_valid(
void)
uint32_t errcode_t
Definition of error code.
Definition errcode.h:30
errcode_t hal_tcxo_v150_regs_init(void)
Init the tcxo which will set the base address of registers.
Definition hal_tcxo_v150_regs_op.c:16
tcxo_regs_t * g_tcxo_regs
Definition hal_tcxo_v150_regs_op.c:14
void hal_tcxo_v150_regs_deinit(void)
Deinit the tcxo which will clear the base address of registers has been set by hal_tcxo_v150_regs_ini...
Definition hal_tcxo_v150_regs_op.c:27
uint64_t hal_tcxo_reg_count_get(void)
Get the value of count.
Definition hal_tcxo_v150_regs_op.c:32
unsigned long long uint64_t
Definition osal_types.h:35
Registers associated with TCXO.
Definition hal_tcxo_v150_regs_def.h:62
volatile uint32_t status
Definition hal_tcxo_v150_regs_def.h:63
This union represents the bit fields in the count register. Read the register into the d32 member the...
Definition hal_tcxo_v150_regs_def.h:48
uint32_t refresh
Definition hal_tcxo_v150_regs_def.h:51
uint32_t d32
Definition hal_tcxo_v150_regs_def.h:49
uint32_t valid
Definition hal_tcxo_v150_regs_def.h:55
uint32_t clear
Definition hal_tcxo_v150_regs_def.h:52
struct tcxo_status_data::@30 b
uint32_t enable
Definition hal_tcxo_v150_regs_def.h:53