Nexus Embedded Platform 0.1.0
Statically assembled reusable embedded mechanisms
Loading...
Searching...
No Matches
features.h File Reference

Reviewed CPU mechanisms and allocation-free result types. More...

#include <stdbool.h>
#include <stdint.h>

Go to the source code of this file.

Data Structures

struct  nx_arch_features_t
 Reviewed mechanisms in the exact compiled CPU profile. More...

Enumerations

enum  nx_arch_result_t { NX_ARCH_OK = 0 , NX_ARCH_INVALID , NX_ARCH_CONTEXT , NX_ARCH_UNSUPPORTED }
 Result of a validated local CPU mechanism operation. More...
enum  nx_arch_security_state_t { NX_ARCH_SECURITY_SINGLE = 0 , NX_ARCH_SECURITY_SECURE = 1 , NX_ARCH_SECURITY_NONSECURE = 2 }
 Security state compiled for this firmware image. More...

Functions

nx_arch_features_t nx_arch_features (void)
 Query immutable, compiled CPU mechanism capabilities.

Detailed Description

Reviewed CPU mechanisms and allocation-free result types.

Author
Nexus Team

Definition in file features.h.

Enumeration Type Documentation

◆ nx_arch_result_t

Result of a validated local CPU mechanism operation.

Enumerator
NX_ARCH_OK 
NX_ARCH_INVALID 
NX_ARCH_CONTEXT 
NX_ARCH_UNSUPPORTED 

Definition at line 16 of file features.h.

◆ nx_arch_security_state_t

Security state compiled for this firmware image.

Enumerator
NX_ARCH_SECURITY_SINGLE 
NX_ARCH_SECURITY_SECURE 
NX_ARCH_SECURITY_NONSECURE 

Definition at line 23 of file features.h.

Function Documentation

◆ nx_arch_features()

nx_arch_features_t nx_arch_features ( void )

Query immutable, compiled CPU mechanism capabilities.

Returns
Exact reviewed CPU facts; Native reports absent hardware.
Note
Read-only Task/IRQ query, no hardware access or discovery.