XFusion API v1.3.0
载入中...
搜索中...
未找到
xf_hal_port.h
浏览该文件的文档.
1
12#ifndef __XF_HAL_PORT_H__
13#define __XF_HAL_PORT_H__
14
15/* ==================== [Includes] ========================================== */
16
17#include "../kernel/xf_hal_dev.h"
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
23/* ==================== [Defines] =========================================== */
24
25/* ==================== [Typedefs] ========================================== */
26
27/* ==================== [Global Prototypes] ================================= */
28
38#if XF_HAL_GPIO_IS_ENABLE
49#endif
50
51#if XF_HAL_TIM_IS_ENABLE
62#endif
63
64#if XF_HAL_PWM_IS_ENABLE
75#endif
76
77#if XF_HAL_ADC_IS_ENABLE
88#endif
89
90#if XF_HAL_DAC_IS_ENABLE
101#endif
102
103#if XF_HAL_UART_IS_ENABLE
114#endif
115
116#if XF_HAL_I2C_IS_ENABLE
127#endif
128
129#if XF_HAL_SPI_IS_ENABLE
140#endif
141
147/* ==================== [Macros] ============================================ */
148
149#ifdef __cplusplus
150} /* extern "C" */
151#endif
152
153#endif // __XF_HAL_PORT_H__
int32_t xf_err_t
整形错误类型。 错误码具体值见 xf_err_code_t.
Definition xf_err.h:69
xf_err_t xf_hal_gpio_register(const xf_driver_ops_t *driver_ops)
gpio 设备注册。
Definition xf_hal_gpio.c:45
xf_err_t xf_hal_uart_register(const xf_driver_ops_t *driver_ops)
uart 设备注册。
Definition xf_hal_uart.c:45
xf_err_t xf_hal_pwm_register(const xf_driver_ops_t *driver_ops)
pwm 设备注册。
Definition xf_hal_pwm.c:45
xf_err_t xf_hal_dac_register(const xf_driver_ops_t *driver_ops)
dac 设备注册。
Definition xf_hal_dac.c:45
xf_err_t xf_hal_tim_register(const xf_driver_ops_t *driver_ops)
tim 设备注册。
Definition xf_hal_tim.c:46
xf_err_t xf_hal_spi_register(const xf_driver_ops_t *driver_ops)
spi 设备注册。
Definition xf_hal_spi.c:45
xf_err_t xf_hal_adc_register(const xf_driver_ops_t *driver_ops)
adc 设备注册。
Definition xf_hal_adc.c:45
xf_err_t xf_hal_i2c_register(const xf_driver_ops_t *driver_ops)
i2c 设备注册。
Definition xf_hal_i2c.c:45