byteorder.h
来自「开放源码的嵌入式开发环境」· C头文件 代码 · 共 23 行
H
23 行
/* * The license and distribution terms for this file may be * found in found in the file LICENSE in this distribution or at * http://www.rtems.com/license/LICENSE. * * $Id: byteorder.h,v 1.1 2005/11/04 17:50:34 ralf Exp $ */#ifndef _LIBCPU_BYTEORDER_H#define _LIBCPU_BYTEORDER_Hstatic inline void st_le32(volatile uint32_t *addr, uint32_t value){ *(addr)=value ;}static inline uint32_t ld_le32(volatile uint32_t *addr){ return(*addr);}#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?