Lines Matching refs:a

5 UART (Universal Asynchronous Receiver/Transmitter), as a kind of asynchronous serial communication …
7 The UART serial port is characterized by sequentially transmitting data one bit at a time. As long …
15 - Baudrate: It is the rate at which a serial port communicates, which expressed in bits per second …
87a path for directly transferring data to the RAM and the I/O device, which saves CPU resources to …
89 …is used to output a string to the serial terminal: when the output character is `"\n"` (correspond…
93 An example of using a uart device in **interrupt receive mode and polling mode** as follows:
105 …ode, the oflags takes the value RT_DEVICE_FLAG_DMA_RX. An example of using a uart device in the *…
210 …amework will open a buffer according to the size of RT_SERIAL_RB_BUFSZ to save the received data. …
249 | The actual size of the written data | If it is a character device, the return size is in bytes; |
272 … hardware can support automatic transmission, the upper application can set a callback function. T…
285 …r calls back this function and passes the sent data block address buffer as a parameter to the upp…
304 …ve mode, the callback function will be called when the serial port receives a data, and the data s…
306 …DMA receive mode, the callback function is called when the DMA completes receiving a batch of data.
308 Normally the receiving callback function can send a semaphore or event to notify the serial port da…
355 | Read the actual size of the data | If it is a character device, the return size is in bytes. |
373 …/* Reads a byte of data from the serial port and waits for the receiving semaphore if it is not re…
412 3. Set the receive callback function of the uart device, then send the string and create a read dat…
413a character data. If there is no data, it will hang and wait for the semaphore. When the uart devi…
414 5. This sample code is not limited to a specific BSP. According to the uart device registered by BS…
423 * Program list: This is a uart device usage routine
453 …/* Read a byte of data from the serial port and wait for the receiving semaphore if it is not read…
497 /* Create a serial thread */
517 When the serial port receives a batch of data, it will call the receive callback function. The rece…
519 * This sample code is not limited to a specific BSP. According to the uart device registered by BSP…
527 * Program list: This is a uart device DMA receive usage routine
617 msg_pool, /* a pool for storing messages */
618 sizeof(struct rx_msg), /* The maximum length of a message*/
629 /* Create a thread */