]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lib.git/commitdiff
Document drv_sci_send_imm()
authorMichal Sojka <sojkam1@fel.cvut.cz>
Mon, 21 Jul 2014 15:20:48 +0000 (17:20 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Mon, 21 Jul 2014 15:20:48 +0000 (17:20 +0200)
rpp/src/drv/sci.c

index e01a3fd05241a5d31dff1d35936cbac169e24cd7..d23ac8a8e8bd43f2e817b56999adb68cb5daef9b 100644 (file)
@@ -72,6 +72,15 @@ static int crlf_conv(uint8_t ch_in, uint8_t *ch_out)
        return 1; // Move to the next character
 }
 
+/**
+ * Non-blocking send.
+ *
+ * Sends data to the serial line without blocking. If the hardware TX
+ * buffer is not free, it busy-waits.
+ *
+ * @param length
+ * @param data
+ */
 void drv_sci_send_imm(uint32_t length, uint8_t* data)
 {
        uint8_t ch;