at24cm0x 1.0
at24cm0x driver library
Loading...
Searching...
No Matches
radix.h File Reference

Enumeration for numerical radix options. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef enum NUMERIC_Radix_t NUMERIC_Radix
 Alias for enum NUMERIC_Radix_t representing numerical radix options.

Enumerations

enum  NUMERIC_Radix_t { NUMERIC_Binary = 2 , NUMERIC_Decimal = 10 , NUMERIC_Hexadecimal = 16 }
 Defines numerical radix (base) options. More...

Detailed Description

Enumeration for numerical radix options.

This header file defines an enumeration representing different radix (base) options for numerical values. The enumeration includes binary, decimal, and hexadecimal bases commonly used for representing numbers.

Note
The provided typedef NUMERIC_Radix offers a convenient alias for the enumeration type, improving code clarity and consistency when specifying numeric bases.
Author
g.raf
Date
2026-02-14
Version
1.0 Release
Note
This file is part of a larger project and subject to the license specified in the repository. For updates and the complete revision history, see the GitHub repository.
See also
https://github.com/0x007e/shared-numeric "Shared Numeric Radix GitHub Repository"

Typedef Documentation

◆ NUMERIC_Radix

Alias for enum NUMERIC_Radix_t representing numerical radix options.

Enumeration Type Documentation

◆ NUMERIC_Radix_t

Defines numerical radix (base) options.

This enumeration specifies the numeric base used for representing numbers, including binary (base 2), decimal (base 10), and hexadecimal (base 16).

Enumerator
NUMERIC_Binary 

Binary radix (base 2)

NUMERIC_Decimal 

Decimal radix (base 10)

NUMERIC_Hexadecimal 

Hexadecimal radix (base 16)