OpenBCI 32bit board variation with STM32L476 mircocontroller and mbed support

Dependencies:   mbed

Committer:
akpc806a
Date:
Sun Jan 22 04:10:11 2017 +0000
Revision:
1:4683702d7ad8
Parent:
0:2cb59ea20ace
OpenBCI 32bit board variation with STM32L476 mircocontroller and mbed support. Version V2 of firmware, forked from the same official version for the PIC32 board.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
akpc806a 0:2cb59ea20ace 1 // interface for SPI implemented with mbed framework
akpc806a 0:2cb59ea20ace 2
akpc806a 0:2cb59ea20ace 3 #ifndef __PlatformGPIO__
akpc806a 0:2cb59ea20ace 4 #define __PlatformGPIO__
akpc806a 0:2cb59ea20ace 5
akpc806a 0:2cb59ea20ace 6 #include "mbed.h"
akpc806a 0:2cb59ea20ace 7
akpc806a 0:2cb59ea20ace 8 #define pinMode(x,y)
akpc806a 0:2cb59ea20ace 9
akpc806a 0:2cb59ea20ace 10
akpc806a 0:2cb59ea20ace 11 #define SD_SS PA_3
akpc806a 0:2cb59ea20ace 12 #define BOARD_ADS PA_0
akpc806a 0:2cb59ea20ace 13 #define DAISY_ADS PA_2
akpc806a 0:2cb59ea20ace 14 #define LIS3DH_SS PC_5
akpc806a 0:2cb59ea20ace 15 #define ADS_RST PA_1
akpc806a 0:2cb59ea20ace 16
akpc806a 0:2cb59ea20ace 17 #define LIS3DH_DRDY PB_10
akpc806a 0:2cb59ea20ace 18 #define ADS_DRDY PC_3
akpc806a 0:2cb59ea20ace 19
akpc806a 0:2cb59ea20ace 20 void digitalWrite(int pin, unsigned char value);
akpc806a 0:2cb59ea20ace 21 unsigned char digitalRead(int pin);
akpc806a 1:4683702d7ad8 22 void setIntEnable(int x);
akpc806a 0:2cb59ea20ace 23
akpc806a 0:2cb59ea20ace 24 #endif