Open Storm
sensors_uart_control.h
Go to the documentation of this file.
1 
9 #ifndef SENSORS_UART_CONTROL_H
10 #define SENSORS_UART_CONTROL_H
11 
12 #include <project.h>
13 #include <stdlib.h>
14 #include <string.h>
15 #include <stdio.h>
16 #include <stdint.h>
17 
21 void sensors_uart_start();
22 
26 void sensors_uart_stop();
27 
34 void sensors_uart_set_baud(const uint32_t baud);
35 
42 
49 
54 
55 CY_ISR_PROTO(isr_sensors_uart_rx);
56 
57 #endif
size_t sensors_uart_get_string_size()
Get the size of the string in the buffer.
Definition: sensors_uart_control.c:37
void sensors_uart_set_baud(const uint32_t baud)
Sets the baud rate for the sensors uart.
Definition: sensors_uart_control.c:27
char * sensors_uart_get_string()
Get the uart received string.
Definition: sensors_uart_control.c:35
void sensors_uart_clear_string()
Clears internal buffer.
Definition: sensors_uart_control.c:41
void sensors_uart_stop()
Stops the sensors UART and generic interrupt service.
Definition: sensors_uart_control.c:15
void sensors_uart_start()
Starts the sensors UART with generic interrupt service.
Definition: sensors_uart_control.c:10