Home
last modified time | relevance | path

Searched refs:cb (Results 1 – 11 of 11) sorted by relevance

/loramac-node-3.4.0/src/boards/mcu/saml21/hal/src/
Dhal_ext_irq.c57 ext_irq_cb_t cb; member
83 ext_irqs[i].cb = NULL; in ext_irq_init()
100 int32_t ext_irq_register(const uint32_t pin, ext_irq_cb_t cb) in ext_irq_register() argument
107 ext_irqs[i].cb = cb; in ext_irq_register()
113 if (NULL == cb) { in ext_irq_register()
122 if (NULL == ext_irqs[i].cb) { in ext_irq_register()
123 ext_irqs[i].cb = cb; in ext_irq_register()
183 if (ext_irqs[middle].cb) { in process_ext_irq()
184 ext_irqs[middle].cb(); in process_ext_irq()
Dhal_timer.c258 tmp->cb(tmp); in timer_process_counted()
/loramac-node-3.4.0/src/boards/mcu/saml21/hal/utils/src/
Dutils_event.c53 int32_t event_subscribe(struct event *const event, const event_id_t id, event_cb_t cb) in event_subscribe() argument
59 ASSERT(event && cb && (id < EVENT_MAX_AMOUNT)); in event_subscribe()
69 event->cb = cb; in event_subscribe()
132 current->cb(id, data); in event_post()
/loramac-node-3.4.0/src/boards/mcu/saml21/hal/utils/include/
Dutils_event.h89 event_cb_t cb; /*! Callback to be called when an event occurs */ member
101 int32_t event_subscribe(struct event *const event, const event_id_t id, event_cb_t cb);
/loramac-node-3.4.0/src/boards/mcu/saml21/hpl/eic/
Dhpl_eic.c108 int32_t _ext_irq_init(void (*cb)(const uint32_t pin)) in _ext_irq_init()
182 callback = cb; in _ext_irq_init()
/loramac-node-3.4.0/src/boards/mcu/saml21/hal/include/
Dhpl_ext_irq.h77 int32_t _ext_irq_init(void (*cb)(const uint32_t pin));
Dhal_ext_irq.h92 int32_t ext_irq_register(const uint32_t pin, ext_irq_cb_t cb);
Dhal_timer.h85 timer_cb_t cb; /*! Function pointer to the task. */ member
Dhpl_i2c_s_async.h83 struct _i2c_s_async_callback cb; member
Dhpl_i2c_m_async.h83 struct _i2c_m_async_callback cb; member
/loramac-node-3.4.0/src/boards/mcu/saml21/hpl/sercom/
Dhpl_sercom.c1239 i2c_dev->cb.error = (_i2c_error_cb_t)func; in _i2c_m_async_register_callback()
1242 i2c_dev->cb.tx_complete = (_i2c_complete_cb_t)func; in _i2c_m_async_register_callback()
1245 i2c_dev->cb.rx_complete = (_i2c_complete_cb_t)func; in _i2c_m_async_register_callback()