Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044 #ifndef LED1_PORT
00045 #define LED1_PORT NUTGPIO_PORTD
00046 #endif
00047 #ifndef LED1_PIN
00048 #define LED1_PIN 13
00049 #endif
00050
00051 #ifndef LED2_PORT
00052 #define LED2_PORT NUTGPIO_PORTD
00053 #endif
00054 #ifndef LED2_PIN
00055 #define LED2_PIN 12
00056 #endif
00057
00058 #ifndef LED3_PORT
00059 #define LED3_PORT NUTGPIO_PORTD
00060 #endif
00061 #ifndef LED3_PIN
00062 #define LED3_PIN 14
00063 #endif
00064
00065 #ifndef LED4_PORT
00066 #define LED4_PORT NUTGPIO_PORTD
00067 #endif
00068 #ifndef LED4_PIN
00069 #define LED4_PIN 15
00070 #endif
00071
00072
00073 #ifndef OWI_PORT
00074 #define OWI_PORT NUTGPIO_PORTC
00075 #endif
00076 #ifndef OWI_PIN
00077 #define OWI_PIN 1
00078 #endif
00079 #ifndef OWI_TIMER
00080 #define OWI_TIMER NUTTIMER2
00081 #endif
00082
00083 #ifndef DEV_UART
00084 #define DEV_UART devUsartStm32_2
00085 #endif
00086 #ifndef DEV_UART_NAME
00087 #define DEV_UART_NAME devUsartStm32_2.dev_name
00088 #endif
00089
00090 #ifndef SBBI0_MISO_BIT
00091 #define SBBI0_MISO_BIT 6
00092 #endif
00093 #ifndef SBBI0_MISO_PORT
00094 #define SBBI0_MISO_PORT NUTGPIO_PORTA
00095 #endif
00096 #ifndef SBBI0_MOSI_BIT
00097 #define SBBI0_MOSI_BIT 7
00098 #endif
00099 #ifndef SBBI0_MOSI_PORT
00100 #define SBBI0_MOSI_PORT NUTGPIO_PORTA
00101 #endif
00102 #ifndef SBBI0_SCK_BIT
00103 #define SBBI0_SCK_BIT 5
00104 #endif
00105 #ifndef SBBI0_SCK_PORT
00106 #define SBBI0_SCK_PORT NUTGPIO_PORTA
00107 #endif
00108 #ifndef SBBI0_CS0_BIT
00109 #define SBBI0_CS0_BIT 3
00110 #endif
00111 #ifndef SBBI0_CS0_PORT
00112 #define SBBI0_CS0_PORT NUTGPIO_PORTE
00113 #endif
00114
00115 #define AUDIO_RST_PORT NUTGPIO_PORTD
00116 #define AUDIO_RST_PIN 4