mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-07 19:54:34 +08:00
commit
fd36c064d3
@ -45,7 +45,7 @@ extern "C" {
|
|||||||
* @addtogroup BasicDef
|
* @addtogroup BasicDef
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*@{*/
|
/**@{*/
|
||||||
|
|
||||||
/* RT-Thread version information */
|
/* RT-Thread version information */
|
||||||
#define RT_VERSION 4L /**< major version number */
|
#define RT_VERSION 4L /**< major version number */
|
||||||
@ -88,7 +88,7 @@ typedef rt_base_t rt_off_t; /**< Type for offset */
|
|||||||
#define RT_TRUE 1 /**< boolean true */
|
#define RT_TRUE 1 /**< boolean true */
|
||||||
#define RT_FALSE 0 /**< boolean fails */
|
#define RT_FALSE 0 /**< boolean fails */
|
||||||
|
|
||||||
/*@}*/
|
/**@}*/
|
||||||
|
|
||||||
/* maximum value of base type */
|
/* maximum value of base type */
|
||||||
#define RT_UINT8_MAX 0xff /**< Maxium number of UINT8 */
|
#define RT_UINT8_MAX 0xff /**< Maxium number of UINT8 */
|
||||||
@ -259,7 +259,7 @@ typedef int (*init_fn_t)(void);
|
|||||||
* @addtogroup Error
|
* @addtogroup Error
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*@{*/
|
/**@{*/
|
||||||
|
|
||||||
/* RT-Thread error code definitions */
|
/* RT-Thread error code definitions */
|
||||||
#define RT_EOK 0 /**< There is no error */
|
#define RT_EOK 0 /**< There is no error */
|
||||||
@ -274,7 +274,7 @@ typedef int (*init_fn_t)(void);
|
|||||||
#define RT_EINTR 9 /**< Interrupted system call */
|
#define RT_EINTR 9 /**< Interrupted system call */
|
||||||
#define RT_EINVAL 10 /**< Invalid argument */
|
#define RT_EINVAL 10 /**< Invalid argument */
|
||||||
|
|
||||||
/*@}*/
|
/**@}*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @ingroup BasicDef
|
* @ingroup BasicDef
|
||||||
@ -325,7 +325,7 @@ typedef struct rt_slist_node rt_slist_t; /**< Type for single lis
|
|||||||
* @addtogroup KernelObject
|
* @addtogroup KernelObject
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*@{*/
|
/**@{*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* kernel object macros
|
* kernel object macros
|
||||||
@ -402,13 +402,13 @@ struct rt_object_information
|
|||||||
#define RT_OBJECT_HOOK_CALL(func, argv)
|
#define RT_OBJECT_HOOK_CALL(func, argv)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*@}*/
|
/**@}*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @addtogroup Clock
|
* @addtogroup Clock
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*@{*/
|
/**@{*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* clock & timer macros
|
* clock & timer macros
|
||||||
@ -452,7 +452,7 @@ struct rt_timer
|
|||||||
};
|
};
|
||||||
typedef struct rt_timer *rt_timer_t;
|
typedef struct rt_timer *rt_timer_t;
|
||||||
|
|
||||||
/*@}*/
|
/**@}*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @addtogroup Signal
|
* @addtogroup Signal
|
||||||
@ -465,13 +465,13 @@ typedef siginfo_t rt_siginfo_t;
|
|||||||
|
|
||||||
#define RT_SIG_MAX 32
|
#define RT_SIG_MAX 32
|
||||||
#endif
|
#endif
|
||||||
/*@}*/
|
/**@}*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @addtogroup Thread
|
* @addtogroup Thread
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*@{*/
|
/**@{*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Thread
|
* Thread
|
||||||
@ -613,13 +613,13 @@ struct rt_thread
|
|||||||
};
|
};
|
||||||
typedef struct rt_thread *rt_thread_t;
|
typedef struct rt_thread *rt_thread_t;
|
||||||
|
|
||||||
/*@}*/
|
/**@}*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @addtogroup IPC
|
* @addtogroup IPC
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*@{*/
|
/**@{*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* IPC flags and control command definitions
|
* IPC flags and control command definitions
|
||||||
@ -737,13 +737,13 @@ struct rt_messagequeue
|
|||||||
typedef struct rt_messagequeue *rt_mq_t;
|
typedef struct rt_messagequeue *rt_mq_t;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*@}*/
|
/**@}*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @addtogroup MM
|
* @addtogroup MM
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*@{*/
|
/**@{*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* memory management
|
* memory management
|
||||||
@ -811,14 +811,14 @@ struct rt_mempool
|
|||||||
typedef struct rt_mempool *rt_mp_t;
|
typedef struct rt_mempool *rt_mp_t;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*@}*/
|
/**@}*/
|
||||||
|
|
||||||
#ifdef RT_USING_DEVICE
|
#ifdef RT_USING_DEVICE
|
||||||
/**
|
/**
|
||||||
* @addtogroup Device
|
* @addtogroup Device
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*@{*/
|
/**@{*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* device (I/O) class type
|
* device (I/O) class type
|
||||||
@ -1063,7 +1063,7 @@ struct rt_device_graphic_ops
|
|||||||
};
|
};
|
||||||
#define rt_graphix_ops(device) ((struct rt_device_graphic_ops *)(device->user_data))
|
#define rt_graphix_ops(device) ((struct rt_device_graphic_ops *)(device->user_data))
|
||||||
|
|
||||||
/*@}*/
|
/**@}*/
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* definitions for libc */
|
/* definitions for libc */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user