13 #ifndef EVKBIMX1050_H_ 14 #define EVKBIMX1050_H_ 19 #include "gpio_driver.h" 20 #include "MIMXRT1052.h" 62 #define I2C_S1_SCL_PIN A5 63 #define I2C_S1_SDA_PIN A4 64 #define I2C_S1_DRIVER Driver_I2C1 65 #define I2C_S1_DEVICE_INDEX I2C1_INDEX 66 #define I2C_S1_SIGNAL_EVENT I2C1_SignalEvent_t 69 #define I2C_S2_SCL_PIN D15 70 #define I2C_S2_SDA_PIN D14 71 #define I2C_S2_DRIVER Driver_I2C0 72 #define I2C_S2_DEVICE_INDEX I2C0_INDEX 73 #define I2C_S2_SIGNAL_EVENT I2C0_SignalEvent_t 76 #define I2C_BB_SCL_PIN A5 77 #define I2C_BB_SDA_PIN A4 78 #define I2C_BB_DRIVER Driver_I2C3 79 #define I2C_BB_DEVICE_INDEX I2C3_INDEX 80 #define I2C_BB_SIGNAL_EVENT I2C3_SignalEvent_t 83 #define SPI_S_SCLK D13 84 #define SPI_S_MISO D12 85 #define SPI_S_MOSI D11 86 #define SPI_S_DRIVER Driver_SPI1 87 #define SPI_S_BAUDRATE 500000U 88 #define SPI_S_DEVICE_INDEX SPI1_INDEX
89 #define SPI_S_SIGNAL_EVENT SPI1_SignalEvent_t 92 #define HOST_S_DRIVER Driver_USART1 93 #define HOST_S_SIGNAL_EVENT HOST_SignalEvent_t 96 #define FXOS8700_BB_I2C_ADDR 0x1E 97 #define FXOS8700_BB_INT1 INT1 98 #define FXOS8700_BB_INT2 INT2 101 #define ASK_USER_TO_RESUME(x) \ 102 static volatile bool askResume = true; \ 103 static uint16_t samplesToProcess = x - 1; \ 104 if (askResume && !samplesToProcess--) \ 106 PRINTF("\r\n Specified samples processed, press any key to continue... \r\n"); \ 113 #define I2C_Type LPI2C_Type 114 #define I2C_BASE_PTRS LPI2C_BASE_PTRS 116 #define SPI_Type LPSPI_Type 117 #define SPI_BASE_PTRS LPSPI_BASE_PTRS
status_t SMC_SetPowerModeWait(void *)
Configures the system to WAIT power mode. API name used from Kinetis family to maintain compatibility...
gpioHandleiMXSDK_t GREEN_LED
status_t SMC_SetPowerModeVlpr(void *)
Configures the system to VLPR power mode. API name used from Kinetis family to maintain compatibility...
The GPIO pin handle for i.MX SDK.
gpioHandleiMXSDK_t BLUE_LED
gpioHandleiMXSDK_t RED_LED