LIbreria de soporte para la STM32F103C8T6 "Blue Pill" by Antuliu's Team

Dependents:   STM32-103C8_Plantilla_USB

Files at this revision

API Documentation at this revision

Comitter:
Antulius
Date:
Thu Sep 05 19:28:09 2019 +0000
Parent:
12:727468adfd1d
Commit message:
STM32F103C8_Plantilla_USB

Changed in this revision

PinNames.h Show annotated file Show diff for this revision Revisions of this file
SysClockConf.h Show annotated file Show diff for this revision Revisions of this file
stm32f103c8t6.h Show annotated file Show diff for this revision Revisions of this file
--- a/PinNames.h	Sat Jun 24 19:05:15 2017 +0000
+++ b/PinNames.h	Thu Sep 05 19:28:09 2019 +0000
@@ -127,6 +127,9 @@
     D15         = PB_8,
 
     // Generic signals namings
+    Red_Led     = NC,
+    Green_Led   = PC_13,
+    Blue_Led    = NC,
     LED1        = PC_13,
     LED2        = NC,
     LED3        = NC,
@@ -136,6 +139,10 @@
     SERIAL_RX   = PA_3,
     USBTX       = PA_2,
     USBRX       = PA_3,
+    CANRX       = PB_8,
+    CANTX       = PB_9,
+    CANRX2      = PB_11,
+    CANTX2      = PB_12,
     I2C_SCL     = PB_8,
     I2C_SDA     = PB_9,
     SPI_MOSI    = PA_7,
--- a/SysClockConf.h	Sat Jun 24 19:05:15 2017 +0000
+++ b/SysClockConf.h	Thu Sep 05 19:28:09 2019 +0000
@@ -1,2 +1,7 @@
+#ifndef CONFSYSCLOCK_H
+#define CONFSYSCLOCK_H
+
 #pragma once
-void confSysClock(void);
\ No newline at end of file
+void confSysClock(void);
+
+#endif
\ No newline at end of file
--- a/stm32f103c8t6.h	Sat Jun 24 19:05:15 2017 +0000
+++ b/stm32f103c8t6.h	Thu Sep 05 19:28:09 2019 +0000
@@ -1,3 +1,9 @@
 #pragma once
+
+#ifndef STM32F103C8T6_H
+#define STM32F103C8T6_H
+#include "stm32f10x.h"
 #include "PinNames.h"
 #include "SysClockConf.h"
+
+#endif
\ No newline at end of file