42 #define ACI_QUEUE_SIZE 4
53 hal_aci_data_t aci_data[ACI_QUEUE_SIZE];
58 void aci_queue_init(aci_queue_t *aci_q);
60 bool aci_queue_dequeue(aci_queue_t *aci_q, hal_aci_data_t *p_data);
61 bool aci_queue_dequeue_from_isr(aci_queue_t *aci_q, hal_aci_data_t *p_data);
63 bool aci_queue_enqueue(aci_queue_t *aci_q, hal_aci_data_t *p_data);
64 bool aci_queue_enqueue_from_isr(aci_queue_t *aci_q, hal_aci_data_t *p_data);
66 bool aci_queue_is_empty(aci_queue_t *aci_q);
67 bool aci_queue_is_empty_from_isr(aci_queue_t *aci_q);
69 bool aci_queue_is_full(aci_queue_t *aci_q);
70 bool aci_queue_is_full_from_isr(aci_queue_t *aci_q);
72 bool aci_queue_peek(aci_queue_t *aci_q, hal_aci_data_t *p_data);
73 bool aci_queue_peek_from_isr(aci_queue_t *aci_q, hal_aci_data_t *p_data);
Interface for hal_aci_tl.