init

Dependencies:   aconno_I2C Lis2dh12 WatchdogTimer

Committer:
pathfindr
Date:
Sat Dec 15 13:45:28 2018 +0000
Revision:
9:b0a1535b8ef2
Parent:
7:e9a19750700d
Child:
14:9a54b1b65bc8
sat

Who changed what in which revision?

UserRevisionLine numberNew contents of line
pathfindr 0:94b743e06998 1 #include "mbed.h"
pathfindr 0:94b743e06998 2
pathfindr 6:388d3c7efdd9 3 //PINS
pathfindr 6:388d3c7efdd9 4 #define PN_SWDIO SWDIO
pathfindr 6:388d3c7efdd9 5 #define PN_SWCLK SWCLK
pathfindr 6:388d3c7efdd9 6 #define PN_RESET P0_21
pathfindr 6:388d3c7efdd9 7 #define PN_IO1 P0_20
pathfindr 6:388d3c7efdd9 8 #define PN_IO2 P0_18
pathfindr 6:388d3c7efdd9 9 #define PN_IO3 P0_2
pathfindr 6:388d3c7efdd9 10 #define PN_IO4 P0_3
pathfindr 6:388d3c7efdd9 11 #define PN_IN_BUTTON P0_13
pathfindr 6:388d3c7efdd9 12 #define PN_LED P0_11
pathfindr 6:388d3c7efdd9 13 #define PN_GSM_WAKEUP_IN P0_14
pathfindr 6:388d3c7efdd9 14 #define PN_GSM_WAKE_DISABLE P0_16
pathfindr 6:388d3c7efdd9 15 #define PN_GSM_STATUS P0_15
pathfindr 6:388d3c7efdd9 16 #define PN_GSM_RESET P0_25
pathfindr 6:388d3c7efdd9 17 #define PN_GSM_PWR_KEY P0_28
pathfindr 6:388d3c7efdd9 18 #define PN_SPI_MOSI P0_23
pathfindr 6:388d3c7efdd9 19 #define PN_SPI_MISO P0_19
pathfindr 6:388d3c7efdd9 20 #define PN_SPI_CLK P0_24
pathfindr 6:388d3c7efdd9 21 #define PN_SPI_CS0 P0_22
pathfindr 6:388d3c7efdd9 22 #define PN_SPI_CS1 P0_17
pathfindr 6:388d3c7efdd9 23 #define PN_UART_RX P0_8
pathfindr 6:388d3c7efdd9 24 #define PN_UART_TX P0_6
pathfindr 6:388d3c7efdd9 25 #define PN_UART_CTS P0_30
pathfindr 6:388d3c7efdd9 26 #define PN_UART_RTS P0_31
pathfindr 6:388d3c7efdd9 27 #define PN_OUT_BUZZER P0_7
pathfindr 6:388d3c7efdd9 28 #define PN_ACC_INT1 P0_5
pathfindr 6:388d3c7efdd9 29 #define PN_ACC_INT2 P0_4
pathfindr 6:388d3c7efdd9 30 #define PN_VREG_EN P0_29
pathfindr 6:388d3c7efdd9 31 #define PN_I2C_SDA P0_26
pathfindr 6:388d3c7efdd9 32 #define PN_I2C_SCL P0_27
pathfindr 6:388d3c7efdd9 33
pathfindr 6:388d3c7efdd9 34 //NVSTORAGE KEYS
pathfindr 9:b0a1535b8ef2 35 //#define NV_IDENTIFIER 1