Expand description
Utility types and functions for OSAL-RS.
This module contains common types, error definitions, and helper functions used throughout the library.
Structs§
Enums§
- CpuRegister
Size - CPU register size enumeration.
- Error
- Error types for OSAL-RS operations.
- Osal
RsBool - Boolean type compatible with RTOS return values.
Constants§
- MAX_
DELAY - Maximum delay constant for blocking operations.
Functions§
- bytes_
to_ hex - Converts a byte slice to a hexadecimal string representation.
- bytes_
to_ hex_ into_ slice - Converts a byte slice to hexadecimal representation into a pre-allocated buffer.
- hex_
to_ bytes - Converts a hexadecimal string to a vector of bytes.
- hex_
to_ bytes_ into_ slice - Converts a hexadecimal string to bytes into a pre-allocated buffer.
- register_
bit_ size - Determines the CPU register size at compile time.