I'm using STM32cubemx and I have created a project using UART in 9-bit configuration. The code is generated and I can find the "HAL_UART_Transmit" function but the pData parameter is a 8-bit pointer:
HAL_StatusTypeDef HAL_UART_Transmit(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size, uint32_t Timeout)
pData should be a 16-bit parameter. I cannot understand how can I send a 9-bit data with this function. Is it a bug in STM32CubeMX?