Home
last modified time | relevance | path

Searched refs:char_size (Results 1 – 10 of 10) sorted by relevance

/loramac-node-3.4.0/src/boards/mcu/saml21/hpl/sercom/
Dhpl_sercom.c2220 static int32_t _spi_set_char_size(void *const hw, const enum spi_char_size char_size, uint8_t *cons… in _spi_set_char_size() argument
2223 if (!(char_size == SPI_CHAR_SIZE_8 || char_size == SPI_CHAR_SIZE_9)) { in _spi_set_char_size()
2231 hri_sercomspi_write_CTRLB_CHSIZE_bf(hw, char_size); in _spi_set_char_size()
2232 *size = (char_size == SPI_CHAR_SIZE_8) ? 1 : 2; in _spi_set_char_size()
2347 dev->char_size = ((regs->ctrlb & SERCOM_SPI_CTRLB_CHSIZE_Msk) == 0) ? 1 : 2; in _spi_m_sync_init()
2528 int32_t _spi_m_sync_set_char_size(struct _spi_m_sync_dev *dev, const enum spi_char_size char_size) in _spi_m_sync_set_char_size() argument
2532 return _spi_set_char_size(dev->prvt, char_size, &dev->char_size); in _spi_m_sync_set_char_size()
2535 int32_t _spi_m_async_set_char_size(struct _spi_async_dev *dev, const enum spi_char_size char_size) in _spi_m_async_set_char_size() argument
2539 return _spi_set_char_size(dev->prvt, char_size, &dev->char_size); in _spi_m_async_set_char_size()
2542 int32_t _spi_s_async_set_char_size(struct _spi_s_async_dev *dev, const enum spi_char_size char_size) in _spi_s_async_set_char_size() argument
[all …]
/loramac-node-3.4.0/src/boards/mcu/saml21/hal/src/
Dhal_spi_m_sync.c117 …2_t spi_m_sync_set_char_size(struct spi_m_sync_descriptor *spi, const enum spi_char_size char_size) in spi_m_sync_set_char_size() argument
121 return _spi_m_sync_set_char_size(&spi->dev, char_size); in spi_m_sync_set_char_size()
/loramac-node-3.4.0/src/boards/mcu/saml21/hal/include/
Dhpl_spi_sync.h70 uint8_t char_size; member
Dhpl_spi_async.h118 uint8_t char_size; member
Dhpl_spi_m_sync.h139 int32_t _spi_m_sync_set_char_size(struct _spi_m_sync_dev *dev, const enum spi_char_size char_size);
Dhal_spi_m_sync.h168 …_t spi_m_sync_set_char_size(struct spi_m_sync_descriptor *spi, const enum spi_char_size char_size);
Dhpl_spi_m_dma.h145 int32_t _spi_m_dma_set_char_size(struct _spi_m_dma_dev *dev, const enum spi_char_size char_size);
Dhpl_spi_s_sync.h127 int32_t _spi_s_sync_set_char_size(struct _spi_s_sync_dev *dev, const enum spi_char_size char_size);
Dhpl_spi_s_async.h139 int32_t _spi_s_async_set_char_size(struct _spi_s_async_dev *dev, const enum spi_char_size char_size
Dhpl_spi_m_async.h150 int32_t _spi_m_async_set_char_size(struct _spi_m_async_dev *dev, const enum spi_char_size char_size