X-Git-Url: http://git.linex4red.de/pub/lufa.git/blobdiff_plain/afd828c095f38753e989391eab670b8736e4bd6e..43c473530552acabcf5bb1db29555bfb5ea70b79:/LUFA/Drivers/Peripheral/Serial.h diff --git a/LUFA/Drivers/Peripheral/Serial.h b/LUFA/Drivers/Peripheral/Serial.h index 58c570eab..f276479ae 100644 --- a/LUFA/Drivers/Peripheral/Serial.h +++ b/LUFA/Drivers/Peripheral/Serial.h @@ -117,6 +117,13 @@ */ void Serial_SendString(const char* StringPtr) ATTR_NON_NULL_PTR_ARG(1); + /** Transmits a given buffer located in SRAM memory through the USART. + * + * \param[in] Buffer Pointer to a buffer containing the data to send. + * \param[in] Length Length of the data to send, in bytes. + */ + void Serial_SendData(const uint8_t* Buffer, uint16_t Length) ATTR_NON_NULL_PTR_ARG(1); + /* Inline Functions: */ /** Initializes the USART, ready for serial data transmission and reception. This initializes the interface to * standard 8-bit, no parity, 1 stop bit settings suitable for most applications.