sakura.io Evalution Board's sample program of power management.

Dependencies:   AQM0802A SakuraIO mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers SakuraPinNames.h Source File

SakuraPinNames.h

00001 #ifndef __SAKURA_PIN_NAMES_H__
00002 #define __SAKURA_PIN_NAMES_H__
00003 
00004 #define DAP_UART_TX PB_6
00005 #define DAP_UART_RX PB_7
00006 
00007 // GPIO
00008 #define SW1 PC_14
00009 #define SW2 PH_0
00010 #define SW3 PC_0
00011 #define SW4 PC_1
00012 #define SW5 PC_2
00013 #define SW6 PC_3
00014 #undef LED1
00015 #undef LED2 
00016 #undef LED3
00017 #undef LED4
00018 #define LED1 PC_13
00019 #define LED2 PC_15
00020 #define LED3 PH_1
00021 #define LED4 PC_4
00022 
00023 // LCD
00024 #define LED_LCD PC_5
00025 
00026 // MPU-9250
00027 #define MPU9250_INT PB_2
00028 
00029 // GPS
00030 #define GPS_EN PA_11
00031 #define GPS_INT PB_5
00032 #define GPS_1PPS PB_4
00033 #define GPS_WAKEUP PD_2
00034 #define GPS_TX PC_6
00035 #define GPS_RX PC_7
00036 
00037 // sakura.io
00038 #define SCM_WAKE_IN  PC_8
00039 #define SCM_WAKE_OUT PA_9
00040 
00041 /* Bus */
00042 
00043 // I2C (LCD, BME280)
00044 #define I2C_INTERNAL_SCL PB_8
00045 #define I2C_INTERNAL_SDA PB_9
00046 
00047 // I2C (sakura.io)
00048 #undef I2C_SCL
00049 #undef I2C_SDA
00050 #define I2C_SCL PA_8
00051 #define I2C_SDA PC_9
00052 
00053 // I2C (External)
00054 #define I2C_EXTERNAL_SCL PB_10
00055 #define I2C_EXTERNAL_SDA PB_3
00056 
00057 // SPI (MPU-9250)
00058 #define SPI_MPU_MISO PA_12
00059 #define SPI_MPU_MOSI PA_10
00060 #define SPI_MPU_SCK PB_0
00061 #define SPI_MPU_CS PB_1
00062 
00063 #endif