Add UART functionality #11

Merged
Athamantis merged 2 commits from add-uart into main 2024-03-06 14:56:50 +00:00
Owner
No description provided.
sebgab added the
enhancement
label 2024-03-06 14:50:03 +00:00
Athamantis was assigned by sebgab 2024-03-06 14:50:04 +00:00
Inamr was assigned by sebgab 2024-03-06 14:50:04 +00:00
sebgab added 1 commit 2024-03-06 14:50:04 +00:00
sebgab requested review from Athamantis 2024-03-06 14:50:55 +00:00
sebgab requested review from Inamr 2024-03-06 14:50:56 +00:00
Inamr approved these changes 2024-03-06 14:52:46 +00:00
Athamantis requested changes 2024-03-06 14:54:20 +00:00
@ -0,0 +1,25 @@
#include "uart.h"
void init_uart(uint16_t baud) {
Owner

Description

Description
sebgab marked this conversation as resolved
@ -0,0 +11,4 @@
USART3.CTRLB |= USART_TXEN_bm;
}
void USART3_sendChar(char c) {
Owner

description

description
sebgab marked this conversation as resolved
@ -0,0 +19,4 @@
}
int USART3_printChar(char c, FILE *stream) {
Owner

description

description
sebgab marked this conversation as resolved
sebgab added 1 commit 2024-03-06 14:56:06 +00:00
sebgab requested review from Athamantis 2024-03-06 14:56:12 +00:00
Athamantis approved these changes 2024-03-06 14:56:35 +00:00
Athamantis merged commit d84c565985 into main 2024-03-06 14:56:50 +00:00
Athamantis deleted branch add-uart 2024-03-06 14:56:50 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Mikrokontrollersystemer-gruppe-4/mikrokontrollersystemer-prosjekt#11
No description provided.