HAL Q Types

HAL Q Types

group Q_Exported_Types

Enums

enum hal_q_addressing_mode_t

Q addressing mode enumeration definition

Values:

enumerator HAL_Q_ADDRESSING_DIRECT

Specifies that addressing is used directly for the node link

enumerator HAL_Q_ADDRESSING_BASE_OFFSET

Specifies that addressing is calculated relative to a base address for the node link

struct hal_q_desc_ops_t
#include <stm32c5xx_hal_q.h>

Q descriptor operations structure definition

Public Members

void ( * p_get_node_info ) ( uint32_t * offset , hal_q_addressing_mode_t * addressing_mode )

Specifies the Q node structure information provided by HAL PPP that supports the linked-list feature.

Param offset :

Next node address offset.

Param addressing_mode :

Node addressing mode.

void ( * p_set_node ) ( uint32_t head , uint32_t prev , uint32_t next , uint32_t offset )

Specifies the Q set node address information provided by HAL PPP that supports the linked-list feature.

Param head :

Head node address.

Param prev :

Previous node address.

Param next :

Next node address.

Param offset :

Node address offset.

uint32_t ( * p_get_node ) ( uint32_t head , uint32_t node , uint32_t offset )

Specifies the Q get node address information provided by HAL PPP that supports the linked-list feature.

Param head :

Head node address.

Param node :

Current node address.

Param offset :

Node address offset.

struct hal_q_t
#include <stm32c5xx_hal_q.h>

Q structure definition

Public Members

void * p_head_node

Specifies the Q head node

void * p_tail_node

Specifies the Q tail node

uint32_t node_nbr

Specifies the Q node number

uint32_t next_addr_offset

Specifies the next node address offset provided by HAL PPP that supports the linked-list feature

hal_q_addressing_mode_t addr_mode

Specifies the Q addressing mode provided by HAL PPP that supports the linked-list feature

void ( * p_set_node ) ( uint32_t head , uint32_t prev , uint32_t next , uint32_t offset )

Specifies the Q set node address information provided by HAL PPP that supports the linked-list feature

uint32_t ( * p_get_node ) ( uint32_t head , uint32_t node , uint32_t offset )

Specifies the Q get node address information provided by HAL PPP that supports the linked-list feature