mikroSDK Reference Manual
hal_target.h File Reference

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 hal_ll_base_addr_t hal_base_addr_t
 
typedef hal_ll_channel_t hal_channel_t
 
typedef hal_ll_pin_name_t hal_pin_name_t
 
typedef hal_ll_port_name_t hal_port_name_t
 
typedef hal_ll_port_size_t hal_port_size_t
 
typedef int32_t err_t
 

Enumerations

enum  acquire_t
 

Macro Definition Documentation

◆ HAL_MODULE_ERROR

#define HAL_MODULE_ERROR   (hal_base_addr_t)(0xFFFFFFFF)

General module error.

◆ HAL_CHANNEL_ERROR

#define HAL_CHANNEL_ERROR   (hal_channel_t)(0xFFFFFFFF)

Channel error. ( Timer, ADC... )

◆ HAL_PIN_NC

#define HAL_PIN_NC   (hal_pin_name_t)(0xFFFFFFFF)

Pin error. ( Wrong pin selected )

◆ HAL_PORT_NC

#define HAL_PORT_NC   (hal_port_name_t)(0xFFFFFFFF)

Port error. ( Wrong port selected )

Typedef Documentation

◆ hal_base_addr_t

typedef hal_ll_base_addr_t hal_base_addr_t

Base address, which is size dependant on the architecture.

◆ hal_channel_t

typedef hal_ll_channel_t hal_channel_t

Channel type, which is size dependant on the architecture.

◆ hal_pin_name_t

typedef hal_ll_pin_name_t hal_pin_name_t

Pin type, which is size dependant on the architecture.

◆ hal_port_name_t

typedef hal_ll_port_name_t hal_port_name_t

Port type, which is size dependant on the architecture.

◆ hal_port_size_t

typedef hal_ll_port_size_t hal_port_size_t

Port width, which is size dependant on the architecture.

◆ err_t

typedef int32_t err_t

General error type.

Enumeration Type Documentation

◆ acquire_t

enum acquire_t

Predefined enum values for acquiring adequate object handle.

Enumerator
ACQUIRE_SUCCESS 

Acquire successful.

ACQUIRE_INIT 

Init required.

ACQUIRE_FAIL 

Acquire failed.