pull/8/head
eonaholic 12 months ago
parent 133d11be27
commit bc798a6338

@ -25,7 +25,7 @@
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
* --------------------------------------------------------------------------- */
/*该函数定义提供了运行停止功能所需的接口和参数类型,为嵌入式系统中的运行停止操作提供了基本的支持
/**
* @defgroup los_runstop Wakeup
* @ingroup kernel

@ -25,7 +25,7 @@
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
* --------------------------------------------------------------------------- */
/*这段代码实现了对信号量操作的基本功能,包括创建、删除、请求和释放信号量,并对可能出现的错误情况进行了定义和说明。*/
/**
* @defgroup los_sem Semaphore
* @ingroup kernel

@ -25,7 +25,7 @@
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
* --------------------------------------------------------------------------- */
/*以上代码是关于内存管理中的slab功能的实现。Slab是一种分配固定大小的内存块的机制用于提高内存分配和释放的效率。以上代码提供了对slab内存分配器的配置和定义*/
/**
* @defgroup los_slab Slab
* @ingroup kernel

@ -25,7 +25,7 @@
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*---------------------------------------------------------------------------*/
/*以上代码实现了自旋锁的基本操作,并根据多处理器系统和非多处理器系统分别进行了处理*/
/**
* @defgroup los_spinlock Spinlock
* @ingroup kernel

@ -25,7 +25,7 @@
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
* --------------------------------------------------------------------------- */
/*这段代码是关于软件定时器的管理接口,主要包括软件定时器的创建、启动、停止、删除等操作。这段代码提供了一套完整的软件定时器管理接口,方便开发人员在嵌入式系统中实现基于时间的任务调度和处理。*/
/**
* @defgroup los_swtmr Software timer
* @ingroup kernel

@ -25,7 +25,7 @@
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
* --------------------------------------------------------------------------- */
/*这个头文件提供了系统时间模块的接口和基本定义,为系统时间的管理提供了必要的支持*/
/**
* @defgroup los_sys System time
* @ingroup kernel

@ -25,7 +25,8 @@
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
* --------------------------------------------------------------------------- */
/*以上代码是LiteOS系统中定义表格的头文件其中定义了一些宏用于在汇编代码中生成指定名称和标签的全局符号用于在LiteOS系统中实现一些底层硬件操作。
section*/
#ifndef _LOS_TABLES_H
#define _LOS_TABLES_H

@ -25,7 +25,7 @@
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
* --------------------------------------------------------------------------- */
/*该函数定义了一些任务错误情况以及一些关于任务处理的函数*/
/**
* @defgroup los_task Task
* @ingroup kernel

@ -25,7 +25,7 @@
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
* --------------------------------------------------------------------------- */
/*这些代码主要用于系统计时、延时和低功耗唤醒功能,提供了丰富的 Tick 相关操作接口和功能*/
/**
* @defgroup los_tick Tick
* @ingroup kernel

@ -26,6 +26,7 @@
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
* --------------------------------------------------------------------------- */
/*这些代码主要用于开启和关闭 Tickless 模式,提供了 Tickless 相关操作接口和功能。*/
/**
* @defgroup los_tickless Tickless
* @ingroup kernel

@ -25,7 +25,7 @@
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
* --------------------------------------------------------------------------- */
/*这段代码提供了一些通用的宏和函数,可以帮助开发者在不同的编译环境下编写跨平台的代码,并提供了一些位操作的便利功能。*/
/**
* @defgroup los_toolchain
* @ingroup kernel

@ -25,7 +25,8 @@
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
* --------------------------------------------------------------------------- */
/*这段代码是关于 Huawei LiteOS 操作系统中的跟踪Trace功能的实现包括了跟踪数据结构、跟踪事件类型、初始化、启动、停止、事件掩码
*/
/**
* @defgroup los_trace Trace
* @ingroup kernel

@ -25,7 +25,9 @@
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
* --------------------------------------------------------------------------- */
/*以上代码是一个类型定义的头文件用于定义各种数据类型。其中包括基本的整数类型如UINT8、INT16、浮点类型如FLOAT、DOUBLE、字符类型CHAR等。
NULLTRUEFALSELOS_OK
*/
/**
* @defgroup los_typedef Type define
* @ingroup kernel

@ -25,7 +25,8 @@
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
* --------------------------------------------------------------------------- */
/*代码是一个虚拟串口头文件用于定义虚拟串口的初始化、反初始化和获取串口类型等函数。在这个头文件中还定义了一个名为LOS_VIRSERIAL_CB的结构体
*/
#ifndef _VIRTUAL_SERIAL_H
#define _VIRTUAL_SERIAL_H

Loading…
Cancel
Save