|
Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
|
HAL target macros and typedefs. More...
#include <stdbool.h>#include <stddef.h>#include <stdint.h>#include <stdlib.h>#include <string.h>#include "hal_delay.h"

Go to the source code of this file.
Macros | |
| #define | HAL_MODULE_ERROR (hal_base_addr_t)(0xFFFFFFFF) |
| #define | HAL_CHANNEL_ERROR (hal_channel_t)(0xFFFFFFFF) |
| #define | HAL_PIN_NC (hal_pin_name_t)(0xFFFFFFFF) |
| #define | HAL_PORT_NC (hal_port_name_t)(0xFFFFFFFF) |
Typedefs | |
| typedef uintptr_t | handle_t |
| typedef uint32_t | hal_ll_gpio_mask_t |
| typedef uint32_t | hal_ll_pin_name_t |
| typedef uint8_t | hal_ll_port_name_t |
| typedef uint32_t | hal_ll_port_size_t |
| typedef uint32_t | hal_ll_base_addr_t |
| typedef uint8_t | hal_ll_channel_t |
| typedef hal_ll_base_addr_t | hal_base_addr_t |
| Base address, which is size dependant on the architecture. More... | |
| typedef hal_ll_channel_t | hal_channel_t |
| Channel type, which is size dependant on the architecture. More... | |
| typedef hal_ll_pin_name_t | hal_pin_name_t |
| Pin type, which is size dependant on the architecture. More... | |
| typedef hal_ll_port_name_t | hal_port_name_t |
| Port type, which is size dependant on the architecture. More... | |
| typedef hal_ll_port_size_t | hal_port_size_t |
| Port width, which is size dependant on the architecture. More... | |
| typedef int32_t | err_t |
| General error type. More... | |
Enumerations | |
| enum | acquire_t { ACQUIRE_SUCCESS = 0 , ACQUIRE_INIT , ACQUIRE_FAIL = (-1) } |
HAL target macros and typedefs.
| #define HAL_CHANNEL_ERROR (hal_channel_t)(0xFFFFFFFF) |
| #define HAL_MODULE_ERROR (hal_base_addr_t)(0xFFFFFFFF) |
| #define HAL_PIN_NC (hal_pin_name_t)(0xFFFFFFFF) |
| #define HAL_PORT_NC (hal_port_name_t)(0xFFFFFFFF) |
| typedef int32_t err_t |
General error type.
| typedef hal_ll_base_addr_t hal_base_addr_t |
Base address, which is size dependant on the architecture.
| typedef hal_ll_channel_t hal_channel_t |
Channel type, which is size dependant on the architecture.
| typedef uint32_t hal_ll_base_addr_t |
| typedef uint8_t hal_ll_channel_t |
| typedef uint32_t hal_ll_gpio_mask_t |
| typedef uint32_t hal_ll_pin_name_t |
| typedef uint8_t hal_ll_port_name_t |
| typedef uint32_t hal_ll_port_size_t |
| typedef hal_ll_pin_name_t hal_pin_name_t |
Pin type, which is size dependant on the architecture.
| typedef hal_ll_port_name_t hal_port_name_t |
Port type, which is size dependant on the architecture.
| typedef hal_ll_port_size_t hal_port_size_t |
Port width, which is size dependant on the architecture.
| typedef uintptr_t handle_t |
| enum acquire_t |