Home
last modified time | relevance | path

Searched refs:io_descr (Results 1 – 3 of 3) sorted by relevance

/loramac-node-3.4.0/src/boards/mcu/saml21/hal/src/
Dhal_io.c60 int32_t io_write(struct io_descriptor *const io_descr, const uint8_t *const buf, const uint16_t len… in io_write() argument
62 ASSERT(io_descr && buf); in io_write()
63 return io_descr->write(io_descr, buf, length); in io_write()
69 int32_t io_read(struct io_descriptor *const io_descr, uint8_t *const buf, const uint16_t length) in io_read() argument
71 ASSERT(io_descr && buf); in io_read()
72 return io_descr->read(io_descr, buf, length); in io_read()
Dhal_usart_sync.c53 static int32_t usart_sync_write(struct io_descriptor *const io_descr, const uint8_t *const buf, con…
54 static int32_t usart_sync_read(struct io_descriptor *const io_descr, uint8_t *const buf, const uint…
246 static int32_t usart_sync_write(struct io_descriptor *const io_descr, const uint8_t *const buf, con… in usart_sync_write() argument
249 struct usart_sync_descriptor *descr = CONTAINER_OF(io_descr, struct usart_sync_descriptor, io); in usart_sync_write()
251 ASSERT(io_descr && buf && length); in usart_sync_write()
272 static int32_t usart_sync_read(struct io_descriptor *const io_descr, uint8_t *const buf, const uint… in usart_sync_read() argument
275 struct usart_sync_descriptor *descr = CONTAINER_OF(io_descr, struct usart_sync_descriptor, io); in usart_sync_read()
277 ASSERT(io_descr && buf && length); in usart_sync_read()
/loramac-node-3.4.0/src/boards/mcu/saml21/hal/include/
Dhal_io.h69 typedef int32_t (*io_write_t)(struct io_descriptor *const io_descr, const uint8_t *const buf, const…
74 typedef int32_t (*io_read_t)(struct io_descriptor *const io_descr, uint8_t *const buf, const uint16…
96 int32_t io_write(struct io_descriptor *const io_descr, const uint8_t *const buf, const uint16_t len…
114 int32_t io_read(struct io_descriptor *const io_descr, uint8_t *const buf, const uint16_t length);