Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Boolean Constants

µC/LIB contains many Boolean constants such as DEF_TRUE/DEF_FALSE, DEF_YES/DEF_NO, DEF_ON/DEF_OFF, DEF_ENABLED/DEF_DISABLED, etc. These constants should be used to configure, assign, and test Boolean values or variables.

Bit Constants

µC/LIB contains bit constants such as DEF_BIT_00, DEF_BIT_07, DEF_BIT_15, etc.; which define values corresponding to specific bit positions. Currently, µC/LIB supports bit constants up to 64-bits (DEF_BIT_63). These constants should be used to configure, assign, and test appropriately-sized bit-field or integer values or variables.

Octet Constants

µC/LIB contains octet constants such as DEF_OCTET_NBR_BITS and DEF_OCTET_MASK which define octet or octet-related values. These constants should be used to configure, assign, and test appropriately-sized, octet-related integer values or variables.

Integer Constants

µC/LIB contains octet constants such as DEF_INT_08_MASK, DEF_INT_16U_MAX_VAL, and DEF_INT_32S_MIN_VAL which define integer-related values. These constants should be used to configure, assign, and test appropriately-sized, octet-related integer values or variables.

Number Base Constants

µC/LIB contains number base constants such as DEF_NBR_BASE_BIN and DEF_NBR_BASE_HEX which define number base values. These constants should be used to configure, assign, and test number base values or variables.

Time Constants

µC/LIB contains time constants such as DEF_TIME_NBR_HR_PER_DAY, DEF_TIME_NBR_SEC_PER_MIN, DEF_TIME_NBR_mS_PER_SEC, etc.; which define time or time-related values. These constants should be used to configure, assign, and test time-related values or variables.

  • No labels