summaryrefslogtreecommitdiffstats
path: root/mcc_generated_files/uart1.h
diff options
context:
space:
mode:
authorNao Pross <naopross@thearcway.org>2018-05-04 00:16:36 +0200
committerNao Pross <naopross@thearcway.org>2018-05-04 00:16:36 +0200
commitc3767ac0c6bcb9a1aed1e7b666061f829a371e1f (patch)
tree36d1339fb999c066f424b8f03707e9a996aff02a /mcc_generated_files/uart1.h
parentDefined Heap size (diff)
downloadSAMLiquidSmoke-c3767ac0c6bcb9a1aed1e7b666061f829a371e1f.tar.gz
SAMLiquidSmoke-c3767ac0c6bcb9a1aed1e7b666061f829a371e1f.zip
Start own HAL implementation based on MCC's generated files
Other changes: - Undo conversion of MCC files to C++ - Delete old Led implementation
Diffstat (limited to '')
-rw-r--r--mcc_generated_files/uart1.h (renamed from mcc_generated_files/uart1.hpp)11
1 files changed, 5 insertions, 6 deletions
diff --git a/mcc_generated_files/uart1.hpp b/mcc_generated_files/uart1.h
index db61d1e..bd3971a 100644
--- a/mcc_generated_files/uart1.hpp
+++ b/mcc_generated_files/uart1.h
@@ -46,6 +46,10 @@
#ifndef _UART1_H
#define _UART1_H
+#ifdef __cplusplus // Provide C++ Compatibility
+ extern "C" {
+#endif
+
/**
Section: Included Files
*/
@@ -55,11 +59,6 @@
#include <stdint.h>
#include <stdlib.h>
#include <sys/attribs.h>
-#ifdef __cplusplus // Provide C++ Compatibility
-
- extern "C" {
-
-#endif
/**
Section: Data Types
@@ -159,7 +158,7 @@ void _UART_1(void);
@Description
This routine initializes the UART driver instance for : 1
- index.
+ index.0x8008
This routine must be called before any other UART routine is called.
@Preconditions