⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 stdbool.h

📁 nRF24L01和nRF24LU1开发包。在C51和S12上实现。
💻 H
字号:
/** @file
 * Type definitions for firmware projects developed at Nordic semiconductor.
 *
 * Standard storage classes in C, such as @c char, @c int, and @c long, ar not always
 * interpreted in the same way by the compiler. The types here are defined by their
 * bit length and signed/unsigned property, as their name indicate. The correlation
 * between the name and properties of the storage class should be true, regardless of
 * the compiler being used.
 */
 
/* $copyright$
 *
 * $license$
 */

#ifndef __STDBOOL_H__
#define __STDBOOL_H__

//lint -strong(B,_Bool)
typedef unsigned char _Bool; ///< Boolean type

#define bool _Bool
#define true 1
#define false 0
#define __bool_true_false_are_defined 1

#endif // __STDBOOL_H__

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -