|
caffeine-sal 0.1.17
Header-only polymorphic middleware services layer for the Caffeine Framework
|
Core definitions and macros for Caffeine SAL. More...
Go to the source code of this file.
Macros | |
| #define | CFN_SAL_PREFIX 'S' |
| Prefix for all Service-level types. Distinguishes services ('S') from HAL peripherals ('A'). | |
| #define | CFN_SAL_TYPE(a, b, c) CFN_HAL_MAKE_TYPE(CFN_SAL_PREFIX, a, b, c) |
| Helper macro to create a Service FourCC type. | |
| #define | CFN_SAL_ERROR_BASE 0x600 |
| Service-level error code base offset. Offsets service errors from HAL errors to avoid collisions. | |
| #define | CFN_SAL_CREATE_DRIVER_TYPE(prefix, config_type, api_type, phy_type, cb_type) |
Core definitions and macros for Caffeine SAL.
| #define CFN_SAL_CREATE_DRIVER_TYPE | ( | prefix, | |
| config_type, | |||
| api_type, | |||
| phy_type, | |||
| cb_type | |||
| ) |
| #define CFN_SAL_ERROR_BASE 0x600 |
Service-level error code base offset. Offsets service errors from HAL errors to avoid collisions.
| #define CFN_SAL_PREFIX 'S' |
Prefix for all Service-level types. Distinguishes services ('S') from HAL peripherals ('A').
| #define CFN_SAL_TYPE | ( | a, | |
| b, | |||
| c | |||
| ) | CFN_HAL_MAKE_TYPE(CFN_SAL_PREFIX, a, b, c) |
Helper macro to create a Service FourCC type.