CTS-SAT-1-OBC-Firmware
Toggle main menu visibility
Loading...
Searching...
No Matches
firmware
Core
Inc
uart_handler
uart_control.h
Go to the documentation of this file.
1
#ifndef INCLUDE_GUARD__UART_HANDLER_H
2
#define INCLUDE_GUARD__UART_HANDLER_H
3
4
#include "stm32l4xx_hal.h"
5
6
#include <stdint.h>
7
8
uint8_t
UART_set_baud_rate
(UART_HandleTypeDef *port_handle, uint32_t new_baud_rate);
9
10
UART_HandleTypeDef *
UART_get_port_handle_by_name
(
const
char
port_name[]);
11
12
#endif
// INCLUDE_GUARD__UART_HANDLER_H
UART_get_port_handle_by_name
UART_HandleTypeDef * UART_get_port_handle_by_name(const char port_name[])
Get the UART port handle by its name.
Definition
uart_control.c:38
UART_set_baud_rate
uint8_t UART_set_baud_rate(UART_HandleTypeDef *port_handle, uint32_t new_baud_rate)
Set the STM32 UART peripheral's baud rate to a different value.
Definition
uart_control.c:11
Generated by
1.17.0