47 #include "gpio_driver.h" 89 #define I2C_S1_SCL_PIN A5 90 #define I2C_S1_SDA_PIN A4 91 #define I2C_S1_DRIVER Driver_I2C0 92 #define I2C_S1_DEVICE_INDEX I2C0_INDEX 93 #define I2C_S1_SIGNAL_EVENT I2C0_SignalEvent_t 96 #define I2C_S2_SCL_PIN D15 97 #define I2C_S2_SDA_PIN D14 98 #define I2C_S2_DRIVER Driver_I2C1 99 #define I2C_S2_DEVICE_INDEX I2C1_INDEX 100 #define I2C_S2_SIGNAL_EVENT I2C1_SignalEvent_t 103 #define I2C_BB_SCL_PIN A5 104 #define I2C_BB_SDA_PIN A4 105 #define I2C_BB_DRIVER Driver_I2C0 106 #define I2C_BB_DEVICE_INDEX I2C0_INDEX 107 #define I2C_BB_SIGNAL_EVENT I2C0_SignalEvent_t 110 #define SPI_S_SCLK D13 111 #define SPI_S_MOSI D11 112 #define SPI_S_MISO D12 113 #define SPI_S_DRIVER Driver_SPI0 114 #define SPI_S_BAUDRATE 500000U 115 #define SPI_S_DEVICE_INDEX SPI0_INDEX
116 #define SPI_S_SIGNAL_EVENT SPI0_SignalEvent_t 119 #define HOST_S_DRIVER Driver_USART1 120 #define HOST_S_SIGNAL_EVENT HOST_SignalEvent_t 123 #define HOST_B_DRIVER Driver_USART1 124 #define HOST_B_SIGNAL_EVENT HOST_SignalEvent_t 127 #define FXOS8700_BB_I2C_ADDR 0x1C 128 #define FXOS8700_BB_INT1 INT1 129 #define FXOS8700_BB_RST RST_A 132 #define ASK_USER_TO_RESUME(x) \ 133 static volatile bool askResume = true; \ 134 static uint16_t samplesToProcess = x - 1; \ 135 if (askResume && !samplesToProcess--) \ 137 PRINTF("\r\n Specified samples processed, press any key to continue... \r\n"); \ 143 #define ADS_NVM_ADDR 0x0003F000 144 #define FLASH_SECTOR_SIZE_PROPERTY kFLASH_PropertyPflashSectorSize
148 #define GPIO_TYPE GPIOC 149 #define GPIO_PORT_NUM PORTC_NUM 156 #define I2C_Type LPI2C_Type 157 #define SPI_Type LPSPI_Type 158 #define I2C_BASE_PTRS LPI2C_BASE_PTRS 159 #define SPI_BASE_PTRS LPSPI_BASE_PTRS
void BOARD_ACCEL_Reset(void)
Reset the onboard FXOS8700.
The GPIO pin handle for KSDK.
gpioHandleKSDK_t BLUE_LED
gpioHandleKSDK_t GREEN_LED