Header file of UART driver for pico.
Structure storing the list and function wrapper for usual list types.
Definition: no_os_list.h:228
@ NO_OS_EVT_UART_RX_COMPLETE
Definition: no_os_irq.h:64
void on_uart0_rx(void)
UART0 RX interrupt handler.
Definition: pico_irq.c:136
int32_t no_os_list_read_find(struct no_os_list_desc *list_desc, void **data, void *cmp_data)
Structure describing a callback to be registered.
Definition: no_os_irq.h:142
void * ctx
Definition: aducm3029_irq.h:125
Header file of IRQ interface.
int32_t no_os_list_get_find(struct no_os_list_desc *list_desc, void **data, void *cmp_data)
int32_t pico_irq_global_disable(struct no_os_irq_ctrl_desc *desc)
Disable all interrupts.
Definition: pico_irq.c:349
int32_t irq_action_cmp(void *data1, void *data2)
Action comparator function.
Definition: pico_irq.c:157
int32_t pico_irq_unregister_callback(struct no_os_irq_ctrl_desc *desc, uint32_t irq_id, struct no_os_callback_desc *cb)
Unregister a callback.
Definition: pico_irq.c:313
const struct no_os_irq_platform_ops pico_irq_ops
pico specific IRQ platform ops structure
Definition: pico_irq.c:416
Timer control module header.
void * no_os_calloc(size_t nitems, size_t size)
Allocate memory and return a pointer to it, set memory to 0.
Definition: chibios_alloc.c:54
void * extra
Definition: no_os_irq.h:116
enum no_os_irq_peripheral peripheral
Definition: no_os_irq.h:150
int32_t pico_irq_disable(struct no_os_irq_ctrl_desc *desc, uint32_t irq_id)
Disable a specific interrupt.
Definition: pico_irq.c:383
struct no_os_timer_desc * pico_alarm_desc[PICO_ALARM_MAX_NB]
Definition: pico_timer.c:56
@ NO_OS_LIST_PRIORITY_LIST
Definition: no_os_list.h:225
int32_t pico_irq_enable(struct no_os_irq_ctrl_desc *desc, uint32_t irq_id)
Enable a specific interrupt.
Definition: pico_irq.c:367
@ NO_OS_EVT_TIM_ELAPSED
Definition: no_os_irq.h:68
void * ctx
Definition: no_os_irq.h:146
int32_t no_os_timer_start(struct no_os_timer_desc *desc)
Start a timer.
Definition: no_os_timer.c:104
no_os_irq_trig_level
Definition: no_os_irq.h:76
uint32_t irq_ctrl_id
Definition: no_os_irq.h:109
void(* callback)(void *context)
Definition: aducm3029_irq.h:123
@ NO_OS_TIM_IRQ
Definition: no_os_irq.h:88
struct no_os_list_desc * actions
Definition: aducm3029_irq.c:85
int32_t pico_irq_ctrl_init(struct no_os_irq_ctrl_desc **desc, const struct no_os_irq_init_param *param)
Initialized the controller for pico external interrupts.
Definition: pico_irq.c:169
int32_t pico_irq_register_callback(struct no_os_irq_ctrl_desc *desc, uint32_t irq_id, struct no_os_callback_desc *cb)
Register a callback.
Definition: pico_irq.c:228
void * handle
Definition: no_os_irq.h:152
void(* callback)(void *context)
Definition: no_os_irq.h:144
void * handle
Definition: aducm3029_irq.h:121
uint32_t irq_id
Definition: aducm3029_irq.h:119
irq_id
Interrupts IDs supported by the irq driver.
Definition: aducm3029_irq.h:62
enum no_os_irq_event event
Definition: no_os_irq.h:148
Struct that stores all the actions for a specific event.
Definition: aducm3029_irq.c:83
void no_os_free(void *ptr)
Deallocate memory previously allocated by a call to no_os_calloc or no_os_malloc.
Definition: chibios_alloc.c:69
void on_uart1_rx(void)
UART1 RX interrupt handler.
Definition: pico_irq.c:145
Struct used to store a (peripheral, callback) pair.
Definition: aducm3029_irq.h:117
int32_t pico_irq_global_enable(struct no_os_irq_ctrl_desc *desc)
Enable all interrupts.
Definition: pico_irq.c:336
enum no_os_irq_event event
Definition: aducm3029_irq.c:84
int32_t pico_trigger_level_set(struct no_os_irq_ctrl_desc *desc, uint32_t irq_id, enum no_os_irq_trig_level level)
Unused.
Definition: pico_irq.c:214
#define NULL
Definition: wrapper.h:64
uint32_t irq_ctrl_id
Definition: no_os_irq.h:125
Header file for the pico timer driver.
Structure holding the initial parameters for Interrupt Request.
Definition: no_os_irq.h:107
@ NO_OS_UART_IRQ
Definition: no_os_irq.h:86
no_os_irq_event
Definition: no_os_irq.h:61
Header file for pico irq specifics.
int32_t pico_irq_ctrl_remove(struct no_os_irq_ctrl_desc *desc)
Free the resources allocated by irq_ctrl_init().
Definition: pico_irq.c:197
const struct no_os_irq_platform_ops pico_irq_ops
pico platform specific irq platform ops structure
Definition: pico_irq.c:416
struct no_os_uart_desc * uart
Definition: main.c:74
Header file of UART interface.
#define PICO_IRQ_NB
Definition: pico_irq.c:55
int32_t no_os_list_add_last(struct no_os_list_desc *list_desc, void *data)
int32_t no_os_list_init(struct no_os_list_desc **list_desc, enum no_os_adapter_type type, f_cmp comparator)
Header file of utility functions.
Definition: no_os_irq.h:123
void * extra
Definition: no_os_irq.h:134