10#ifndef TSENSOR_PORTING_H
11#define TSENSOR_PORTING_H
28#if defined(CONFIG_TSENSOR_MULTILEVEL)
void tsensor_port_unregister_hal_funcs(void)
从hal_tsensor模块注销hal funcs对象。
Definition tsensor_porting.c:37
enum tsensor_multilevel_value tsensor_multilevel_value_t
Tsensor多级阈值级别。
void tsensor_port_unregister_irq(void)
Tsensor去注册中断。
Definition tsensor_porting.c:48
enum tsensor_multilevel_en tsensor_multilevel_en_t
Tsensor多级中断使能。
void tsensor_port_irq_unlock(uint32_t flag)
Tsensor中断解锁。
Definition tsensor_porting.c:59
void tsensor_port_register_hal_funcs(void)
将hal funcs对象注册到hal_tsensor模块中。
Definition tsensor_porting.c:32
uint64_t tsensor_port_get_ms(void)
获取系统时间MS。
Definition tsensor_porting.c:64
void tsensor_port_power_on_and_fre_div(bool value)
设置外设时钟分频数。
tsensor_multilevel_value
Tsensor多级阈值级别。
Definition tsensor_porting.h:57
void tsensor_port_register_irq(void)
Tsensor注册中断。
Definition tsensor_porting.c:42
uintptr_t tsensor_port_base_addr_get(void)
获取指定Tsensor的基地址。
Definition tsensor_porting.c:27
tsensor_multilevel_en
Tsensor多级中断使能。
Definition tsensor_porting.h:36
uint32_t tsensor_port_irq_lock(void)
Tsensor中断锁定。
Definition tsensor_porting.c:54
@ TSENSOR_MULTILEVEL_VAL_3
Definition tsensor_porting.h:64
@ TSENSOR_MULTILEVEL_VAL_1
Definition tsensor_porting.h:60
@ TSENSOR_MULTILEVEL_VAL_MAX
Definition tsensor_porting.h:66
@ TSENSOR_MULTILEVEL_VAL_0
Definition tsensor_porting.h:58
@ TSENSOR_MULTILEVEL_VAL_2
Definition tsensor_porting.h:62
@ TSENSOR_MULTILEVEL_EN_2TO3
Definition tsensor_porting.h:43
@ TSENSOR_MULTILEVEL_EN_MAX
Definition tsensor_porting.h:47
@ TSENSOR_MULTILEVEL_EN_3TOH
Definition tsensor_porting.h:45
@ TSENSOR_MULTILEVEL_EN_1TO2
Definition tsensor_porting.h:41
@ TSENSOR_MULTILEVEL_EN_LTO0
Definition tsensor_porting.h:37
@ TSENSOR_MULTILEVEL_EN_0TO1
Definition tsensor_porting.h:39
unsigned long long uint64_t
Definition osal_types.h:35
unsigned int uintptr_t
Definition td_type.h:65