hal
Hardware Abstraction Layer
hal_types.h File Reference

Common types used across HAL modules. More...

#include <stdint.h>
#include <stdlib.h>
Include dependency graph for hal_types.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  hal_status_t { HAL_STATUS_OK , HAL_STATUS_ERROR , HAL_STATUS_BUSY , HAL_STATUS_TIMEOUT }
 Return type for HAL functions. More...
 

Detailed Description

Common types used across HAL modules.

Copyright (c) 2025 Cory McKiel. Licensed under the MIT License. See LICENSE file in the project root.

Enumeration Type Documentation

◆ hal_status_t

Return type for HAL functions.

Enumerator
HAL_STATUS_OK 

Operation successful.

HAL_STATUS_ERROR 

Operation resulted in an error.

HAL_STATUS_BUSY 

Operation unable to be performed due to busy resource.

HAL_STATUS_TIMEOUT 

Operation did not complete within the allocated timeframe.