added comments to code

interrupts
polymurph 4 years ago
parent ac48839b70
commit 411a650e62

@ -29,6 +29,7 @@ extern "C" {
#endif #endif
#include <stdint.h> #include <stdint.h>
// include the target device definitions -> CMAKE chooses the correct file
#include "hardwareDescription.h" #include "hardwareDescription.h"
#ifdef RASPBERRY #ifdef RASPBERRY

@ -1,6 +1,10 @@
/*! Enum of the awailable pins for this package */ /*! Enum of the awailable pins for this package */
#include "stm32f042x6.h" #include "stm32f042x6.h"
// this file contains all the specific hardware definitions for the given chip stm32f042x6.
// Its used for the interfaces for the CSL.
#define PACKAGE_LQFP32 1 #define PACKAGE_LQFP32 1
#define MAX_USART_CHANNEL_COUNT 2 #define MAX_USART_CHANNEL_COUNT 2

@ -21,7 +21,6 @@
*/ */
#include "pin.h" #include "pin.h"
#include <assert.h> #include <assert.h>
#define MODER_IN 0x0UL #define MODER_IN 0x0UL

Loading…
Cancel
Save