14 #ifndef FRDM_K32W042_H_ 15 #define FRDM_K32W042_H_ 20 #include "gpio_driver.h" 21 #include "K32W042S1M2_cm4.h" 63 #define I2C_S1_SCL_PIN D15 64 #define I2C_S1_SDA_PIN D14 65 #define I2C_S1_DRIVER Driver_I2C0 66 #define I2C_S1_DEVICE_INDEX I2C0_INDEX 67 #define I2C_S1_SIGNAL_EVENT I2C0_SignalEvent_t 70 #define I2C_S2_SCL_PIN A5 71 #define I2C_S2_SDA_PIN A4 72 #define I2C_S2_DRIVER Driver_I2C3 73 #define I2C_S2_DEVICE_INDEX I2C3_INDEX 74 #define I2C_S2_SIGNAL_EVENT I2C3_SignalEvent_t 77 #define I2C_BB_SCL_PIN A5 78 #define I2C_BB_SDA_PIN A4 79 #define I2C_BB_DRIVER Driver_I2C3 80 #define I2C_BB_DEVICE_INDEX I2C3_INDEX 81 #define I2C_BB_SIGNAL_EVENT I2C3_SignalEvent_t 84 #define SPI_S_SCLK D13 85 #define SPI_S_MISO D12 86 #define SPI_S_MOSI D11 87 #define SPI_S_DRIVER Driver_SPI0 88 #define SPI_S_BAUDRATE 500000U 89 #define SPI_S_DEVICE_INDEX SPI0_INDEX
90 #define SPI_S_SIGNAL_EVENT SPI0_SignalEvent_t 93 #define HOST_S_DRIVER Driver_USART0 94 #define HOST_S_SIGNAL_EVENT HOST_SignalEvent_t 97 #define HOST_B_DRIVER Driver_USART1 98 #define HOST_B_SIGNAL_EVENT HOST_SignalEvent_t 101 #define FXOS8700_BB_I2C_ADDR 0x1E 102 #define FXOS8700_BB_INT1 INT1 103 #define FXOS8700_BB_INT2 INT2 106 #define ASK_USER_TO_RESUME(x) \ 107 static volatile bool askResume = true; \ 108 static uint16_t samplesToProcess = x - 1; \ 109 if (askResume && !samplesToProcess--) \ 111 PRINTF("\r\n Specified samples processed, press any key to continue... \r\n"); \ 117 #define ADS_NVM_ADDR 0x000BF000 118 #define FLASH_SECTOR_SIZE_PROPERTY kFLASH_PropertyPflashSectorSize
124 #define I2C_Type LPI2C_Type 125 #define I2C_BASE_PTRS LPI2C_BASE_PTRS 127 #define SPI_Type LPSPI_Type 128 #define SPI_BASE_PTRS LPSPI_BASE_PTRS
The GPIO pin handle for KSDK.
gpioHandleKSDK_t BLUE_LED
gpioHandleKSDK_t GREEN_LED