Home
last modified time | relevance | path

Searched refs:word_length (Results 1 – 25 of 27) sorted by relevance

12

/bsp/ti/c28x/libraries/tms320f28379d/common/source/
A DF2837xD_Ipc.c103 void SendIpcData(void *data, Uint16 word_length, Uint16 flag) in SendIpcData() argument
105 word_length = (word_length < MSG_RAM_SIZE) ? word_length : MSG_RAM_SIZE; in SendIpcData()
107 memcpy(SEND_MSG_RAM, data, word_length); in SendIpcData()
120 void RecvIpcData(void *recv_buf, Uint16 word_length) in RecvIpcData() argument
122 word_length = (word_length < MSG_RAM_SIZE) ? word_length : MSG_RAM_SIZE; in RecvIpcData()
123 memcpy(recv_buf, RECV_MSG_RAM, word_length); in RecvIpcData()
/bsp/phytium/libraries/drivers/
A Ddrv_i2s.c84 static FError FI2sEs8336Init(u32 word_length) in FI2sEs8336Init() argument
113 …ret = FDeviceControl(&fes8336.fes8336_device, FES8336_SET_FORMAT, &word_length); /* 设置ES8336工作模式 */ in FI2sEs8336Init()
130 static FError FI2sRxInit(struct phytium_i2s_device *i2s_dev, u32 word_length) in FI2sRxInit() argument
136 i2s_dev->i2s_ctrl.data_config.word_length = word_length; in FI2sRxInit()
361 u32 word_length = i2s_dev->config.samplebits; /* 16-bits word length */ in i2s_init() local
363 FI2sEs8336Init(word_length); in i2s_init()
375 ret = FI2sRxInit(i2s_dev, word_length); in i2s_init()
/bsp/essemi/es32f0654/libraries/ES32F065x_ALD_StdPeriph_Driver/Source/
A Dald_usart.c518 if (hperh->init.word_length == USART_WORD_LENGTH_9B) { in ald_usart_send()
575 if (hperh->init.word_length == USART_WORD_LENGTH_9B) { in ald_usart_recv()
740 if ((hperh->init.word_length == USART_WORD_LENGTH_9B) in ald_usart_send_by_dma()
801 if ((hperh->init.word_length == USART_WORD_LENGTH_9B) in ald_usart_recv_by_dma()
960 if (hperh->init.word_length == USART_WORD_LENGTH_9B) { in ald_usart_recv_sync()
1236 if ((hperh->init.word_length == USART_WORD_LENGTH_9B) in ald_usart_send_by_dma_sync()
1302 if ((hperh->init.word_length == USART_WORD_LENGTH_9B) in ald_usart_recv_by_dma_sync()
1324 if ((hperh->init.word_length == USART_WORD_LENGTH_9B) in ald_usart_recv_by_dma_sync()
1396 if ((hperh->init.word_length == USART_WORD_LENGTH_9B) in ald_usart_send_recv_by_dma_sync()
1415 if ((hperh->init.word_length == USART_WORD_LENGTH_9B) in ald_usart_send_recv_by_dma_sync()
[all …]
A Dald_smartcard.c221 assert_param(IS_USART_WORD_LENGTH(hperh->init.word_length)); in ald_smartcard_init()
874 assert_param(IS_USART_WORD_LENGTH(hperh->init.word_length)); in smartcard_set_config()
881 MODIFY_REG(tmp, USART_CON0_DLEN_MSK, hperh->init.word_length << USART_CON0_DLEN_POS); in smartcard_set_config()
A Dald_uart.c347 assert_param(IS_UART_WORD_LENGTH(hperh->init.word_length)); in ald_uart_init()
356 MODIFY_REG(tmp, UART_LCR_DLS_MSK, hperh->init.word_length << UART_LCR_DLS_POSS); in ald_uart_init()
/bsp/allwinner/libraries/sunxi-hal/hal/source/uart/
A Dhal_uart.c169 (config->word_length <= UART_WORD_LENGTH_8) && in uart_config_is_valid()
186 static void uart_set_format(uart_port_t uart_port, uart_word_length_t word_length, in uart_set_format() argument
197 switch (word_length) in uart_set_format()
625 .word_length = UART_WORD_LENGTH_8,
651 uart_set_format(uart_port, uart_config->word_length, in hal_uart_init()
888 uart_set_format(uart_port, uart_config->word_length, in hal_uart_control()
/bsp/mm32/libraries/HAL_Drivers/
A Ddrv_uart.c233 rt_uint32_t mm32_uart_get_mask(rt_uint32_t word_length, rt_uint32_t parity) in mm32_uart_get_mask() argument
236 if (word_length == UART_WordLength_8b) in mm32_uart_get_mask()
249 else if (word_length == UART_WordLength_7b) in mm32_uart_get_mask()
/bsp/hpmicro/libraries/hpm_sdk/drivers/src/
A Dhpm_uart_drv.c31 config->word_length = word_length_8_bits; in uart_default_config()
149 if (config->word_length < word_length_6_bits) { in uart_init()
160 ptr->LCR = tmp | UART_LCR_WLS_SET(config->word_length); in uart_init()
/bsp/allwinner/libraries/sunxi-hal/hal/test/uart/
A Dtest_uart.c89 uart_config.word_length = UART_WORD_LENGTH_8; in cmd_test_uart()
/bsp/ft32/libraries/Drivers/
A Ddrv_usart.c229 rt_uint32_t ft32_uart_get_mask(rt_uint32_t word_length, rt_uint32_t parity) in ft32_uart_get_mask() argument
232 if (word_length == USART_WordLength_8b) in ft32_uart_get_mask()
243 else if (word_length == USART_WordLength_9b) in ft32_uart_get_mask()
255 else if (word_length == USART_WordLength_7b) in ft32_uart_get_mask()
/bsp/ti/c28x/libraries/tms320f28379d/common/include/
A DF2837xD_GlobalPrototypes.h275 extern void SendIpcData(void *data, Uint16 word_length, Uint16 flag);
276 extern void RecvIpcData(void *recv_buf, Uint16 word_length);
/bsp/hpmicro/libraries/hpm_sdk/drivers/inc/
A Dhpm_uart_drv.h46 typedef enum word_length { enum
188 uint8_t word_length; /**< Word length */ member
/bsp/essemi/es32f0654/drivers/
A Ddrv_uart.c252 usart->huart.init.word_length = (usart_word_length_t)(cfg->data_bits - 8); in es32f0x_configure()
350 uart->huart.init.word_length = (uart_word_length_t)(cfg->data_bits - 5); in es32f0x_configure()
/bsp/essemi/es32f0654/libraries/ES32F065x_ALD_StdPeriph_Driver/Include/
A Dald_smartcard.h117 …usart_word_length_t word_length;/**< Specifies the number of data bits transmitted or received in … member
A Dald_usart.h164 …usart_word_length_t word_length;/**< Specifies the number of data bits transmitted or received in … member
A Dald_uart.h167 …uart_word_length_t word_length; /**< Specifies the number of data bits transmitted or received in … member
/bsp/stm32/libraries/HAL_Drivers/drivers/
A Ddrv_usart.c101 rt_uint32_t stm32_uart_get_mask(rt_uint32_t word_length, rt_uint32_t parity) in stm32_uart_get_mask() argument
104 if (word_length == UART_WORDLENGTH_8B) in stm32_uart_get_mask()
116 else if (word_length == UART_WORDLENGTH_9B) in stm32_uart_get_mask()
129 else if (word_length == UART_WORDLENGTH_7B) in stm32_uart_get_mask()
A Ddrv_usart_v2.c318 rt_uint32_t stm32_uart_get_mask(rt_uint32_t word_length, rt_uint32_t parity) in stm32_uart_get_mask() argument
321 if (word_length == UART_WORDLENGTH_8B) in stm32_uart_get_mask()
333 else if (word_length == UART_WORDLENGTH_9B) in stm32_uart_get_mask()
346 else if (word_length == UART_WORDLENGTH_7B) in stm32_uart_get_mask()
/bsp/allwinner/libraries/sunxi-hal/include/hal/
A Dhal_uart.h110 uart_word_length_t word_length; member
/bsp/hpmicro/libraries/drivers/
A Ddrv_uart.c376 uart_config.word_length = cfg->data_bits - DATA_BITS_5; in hpm_uart_configure()
/bsp/essemi/es32vf2264/libraries/ALD/ES32VF2264/Include/
A Dald_uart.h173 …ald_uart_word_length_t word_length; /**< Specifies the number of data bits transmitted or received… member
/bsp/essemi/es32vf2264/libraries/ALD/ES32VF2264/Source/
A Dald_uart.c338 assert_param(IS_UART_WORD_LENGTH(hperh->init.word_length)); in ald_uart_init()
346 MODIFY_REG(hperh->perh->LCON, UART_LCON_DLS_MSK, hperh->init.word_length << UART_LCON_DLS_POSS); in ald_uart_init()
/bsp/essemi/es32f369x/libraries/ES32F36xx_ALD_StdPeriph_Driver/Include/
A Dald_uart.h176 …uart_word_length_t word_length; /**< Specifies the number of data bits transmitted or received in … member
/bsp/essemi/es32f369x/libraries/ES32F36xx_ALD_StdPeriph_Driver/Source/
A Dald_uart.c368 assert_param(IS_UART_WORD_LENGTH(hperh->init.word_length)); in ald_uart_init()
376 MODIFY_REG(hperh->perh->LCON, UART_LCON_DLS_MSK, hperh->init.word_length << UART_LCON_DLS_POSS); in ald_uart_init()
/bsp/essemi/es32vf2264/drivers/
A Ddrv_uart.c405 uart->huart.init.word_length = (ald_uart_word_length_t)(8 - cfg->data_bits); in es32f3x_configure()

Completed in 68 milliseconds

12