![]() |
ISSDK
1.8
IoT Sensing Software Development Kit
|
The frdm_k64f.h file defines GPIO pin mappings for FRDM-K64F board. More...
#include "pin_mux.h"#include "fsl_smc.h"#include "MK64F12.h"#include "RTE_Device.h"#include "gpio_driver.h"

Go to the source code of this file.
Macros | |
| #define | I2C_S1_SCL_PIN A5 |
| #define | I2C_S1_SDA_PIN A4 |
| #define | I2C_S1_DRIVER Driver_I2C1 |
| #define | I2C_S1_DEVICE_INDEX I2C1_INDEX |
| #define | I2C_S1_SIGNAL_EVENT I2C1_SignalEvent_t |
| #define | I2C_S2_SCL_PIN D15 |
| #define | I2C_S2_SDA_PIN D14 |
| #define | I2C_S2_DRIVER Driver_I2C0 |
| #define | I2C_S2_DEVICE_INDEX I2C0_INDEX |
| #define | I2C_S2_SIGNAL_EVENT I2C0_SignalEvent_t |
| #define | I2C_BB_SCL_PIN D15 |
| #define | I2C_BB_SDA_PIN D14 |
| #define | I2C_BB_DRIVER Driver_I2C0 |
| #define | I2C_BB_DEVICE_INDEX I2C0_INDEX |
| #define | I2C_BB_SIGNAL_EVENT I2C0_SignalEvent_t |
| #define | SPI_S_SCLK D13 |
| #define | SPI_S_MOSI D11 |
| #define | SPI_S_MISO D12 |
| #define | SPI_S_DRIVER Driver_SPI0 |
| #define | SPI_S_BAUDRATE 500000U |
| Transfer baudrate - 500k. More... | |
| #define | SPI_S_DEVICE_INDEX SPI0_INDEX |
| #define | SPI_S_SIGNAL_EVENT SPI0_SignalEvent_t |
| #define | HOST_S_DRIVER Driver_USART0 |
| #define | HOST_S_SIGNAL_EVENT HOST_SignalEvent_t |
| #define | HOST_B_DRIVER Driver_USART3 |
| #define | HOST_B_SIGNAL_EVENT HOST_SignalEvent_t |
| #define | FXOS8700_BB_I2C_ADDR 0x1D |
| #define | FXOS8700_BB_INT1 INT1 |
| #define | FXOS8700_BB_INT2 INT2 |
| #define | ASK_USER_TO_RESUME(x) |
| #define | WIRED_UART UART0 |
| KSDK instance name for the debug UART. More... | |
| #define | WIRED_UART_PORT_CLKEN kCLOCK_PortB |
| KDSK handle for the pin port clock enable. More... | |
| #define | WIRED_UART_PORT PORTB |
| KDSK handle for the pin port associated with this UART. More... | |
| #define | WIRED_UART_RX_PIN 16U |
| The port number associated with RX. More... | |
| #define | WIRED_UART_TX_PIN 17U |
| The port number associated with TX. More... | |
| #define | WIRED_UART_MUX kPORT_MuxAlt3 |
| If Using Orient App then use Host I/O. More... | |
| #define | WIRED_UART_IRQHandler UART0_RX_TX_IRQHandler |
| KDSK-specified IRQ handler name. More... | |
| #define | WIRED_UART_IRQn UART0_RX_TX_IRQn |
| The interrupt number associated with this IRQ. More... | |
| #define | WIRED_UART_CLKSRC UART0_CLK_SRC |
| KSDK instance name for the clock feeding this module. More... | |
| #define | WIRED_UART_IRQn UART0_RX_TX_IRQn |
| The interrupt number associated with this IRQ. More... | |
| #define | WIRELESS_UART UART3 |
| KSDK instance name for the debug UART. More... | |
| #define | WIRELESS_UART_PORT_CLKEN kCLOCK_PortC |
| KDSK handle for the pin port clock enable. More... | |
| #define | WIRELESS_UART_PORT PORTC |
| KDSK handle for the pin port associated with this UART. More... | |
| #define | WIRELESS_UART_RX_PIN 16U |
| The port number associated with RX. More... | |
| #define | WIRELESS_UART_TX_PIN 17U |
| The port number associated with TX. More... | |
| #define | WIRELESS_UART_MUX kPORT_MuxAlt3 |
| KDSK pin mux selector. More... | |
| #define | WIRELESS_UART_IRQHandler UART3_RX_TX_IRQHandler |
| KDSK-specified IRQ handler name. More... | |
| #define | WIRELESS_UART_IRQn UART3_RX_TX_IRQn |
| The interrupt number associated with this IRQ. More... | |
| #define | WIRELESS_UART_CLKSRC UART3_CLK_SRC |
| KSDK instance name for the clock feeding this module. More... | |
| #define | WIRELESS_UART_IRQn UART3_RX_TX_IRQn |
| The interrupt number associated with this IRQ. More... | |
| #define | THIS_BOARD 5 |
| FRDM_K64F. More... | |
| #define | CORE_SYSTICK_HZ 120000000 |
| core and systick clock rate (Hz) More... | |
| #define | CALIBRATION_NVM_ADDR 0x000FF000 |
| start of final 4K (sector size) of 1M flash More... | |
| #define | ADS_NVM_ADDR 0x000FE000 |
| start of the next to last 4K (sector size) of the 1M flash More... | |
| #define | FLASH_SECTOR_SIZE_PROPERTY kFLASH_PropertyPflashSectorSize |
| #define | FLASH_ERASE_KEY kFLASH_ApiEraseKey |
| #define | MAG_NVM_OFFSET 0 |
| #define | GYRO_NVM_OFFSET 100 |
| #define | ACCEL_NVM_OFFSET 140 |
The frdm_k64f.h file defines GPIO pin mappings for FRDM-K64F board.
Definition in file frdm_k64f.h.
| #define ACCEL_NVM_OFFSET 140 |
Definition at line 155 of file frdm_k64f.h.
Referenced by EraseAccelCalibrationFromNVM(), fInitializeAccelCalibration(), and SaveAccelCalibrationToNVM().
| #define ADS_NVM_ADDR 0x000FE000 |
start of the next to last 4K (sector size) of the 1M flash
Definition at line 148 of file frdm_k64f.h.
Referenced by ADS_FlashCompare(), and ADS_FlashUpdate().
| #define ASK_USER_TO_RESUME | ( | x | ) |
Definition at line 106 of file frdm_k64f.h.
Referenced by main().
| #define CALIBRATION_NVM_ADDR 0x000FF000 |
start of final 4K (sector size) of 1M flash
Definition at line 147 of file frdm_k64f.h.
Referenced by EraseAccelCalibrationFromNVM(), EraseGyroCalibrationFromNVM(), EraseMagCalibrationFromNVM(), fInit_6DOF_GY_KALMAN(), fInit_9DOF_GBY_KALMAN(), fInitializeAccelCalibration(), fInitializeMagCalibration(), NVM_SetBlockFlash(), SaveAccelCalibrationToNVM(), SaveGyroCalibrationToNVM(), and SaveMagCalibrationToNVM().
| #define CORE_SYSTICK_HZ 120000000 |
core and systick clock rate (Hz)
Definition at line 146 of file frdm_k64f.h.
Referenced by initializeFusionEngine().
| #define FLASH_ERASE_KEY kFLASH_ApiEraseKey |
Definition at line 150 of file frdm_k64f.h.
Referenced by NVM_SetBlockFlash().
| #define FLASH_SECTOR_SIZE_PROPERTY kFLASH_PropertyPflashSectorSize |
Definition at line 149 of file frdm_k64f.h.
Referenced by ADS_FlashUpdate(), and NVM_SetBlockFlash().
| #define FXOS8700_BB_I2C_ADDR 0x1D |
Definition at line 101 of file frdm_k64f.h.
| #define FXOS8700_BB_INT1 INT1 |
Definition at line 102 of file frdm_k64f.h.
| #define FXOS8700_BB_INT2 INT2 |
Definition at line 103 of file frdm_k64f.h.
| #define GYRO_NVM_OFFSET 100 |
Definition at line 154 of file frdm_k64f.h.
Referenced by EraseGyroCalibrationFromNVM(), fInit_6DOF_GY_KALMAN(), fInit_9DOF_GBY_KALMAN(), and SaveGyroCalibrationToNVM().
| #define HOST_B_DRIVER Driver_USART3 |
Definition at line 97 of file frdm_k64f.h.
Referenced by main().
| #define HOST_B_SIGNAL_EVENT HOST_SignalEvent_t |
Definition at line 98 of file frdm_k64f.h.
Referenced by main().
| #define HOST_S_DRIVER Driver_USART0 |
Definition at line 93 of file frdm_k64f.h.
Referenced by main().
| #define HOST_S_SIGNAL_EVENT HOST_SignalEvent_t |
Definition at line 94 of file frdm_k64f.h.
Referenced by main().
| #define I2C_BB_DEVICE_INDEX I2C0_INDEX |
Definition at line 80 of file frdm_k64f.h.
Referenced by ADS_DetectShield().
| #define I2C_BB_DRIVER Driver_I2C0 |
Definition at line 79 of file frdm_k64f.h.
| #define I2C_BB_SCL_PIN D15 |
Definition at line 77 of file frdm_k64f.h.
| #define I2C_BB_SDA_PIN D14 |
Definition at line 78 of file frdm_k64f.h.
| #define I2C_BB_SIGNAL_EVENT I2C0_SignalEvent_t |
Definition at line 81 of file frdm_k64f.h.
Referenced by ADS_InitI2CBuses().
| #define I2C_S1_DEVICE_INDEX I2C1_INDEX |
Definition at line 66 of file frdm_k64f.h.
Referenced by ADS_DetectShield(), ADS_FXLC95000Query(), and ADS_MMA9553Query().
| #define I2C_S1_DRIVER Driver_I2C1 |
Definition at line 65 of file frdm_k64f.h.
| #define I2C_S1_SCL_PIN A5 |
Definition at line 63 of file frdm_k64f.h.
| #define I2C_S1_SDA_PIN A4 |
Definition at line 64 of file frdm_k64f.h.
| #define I2C_S1_SIGNAL_EVENT I2C1_SignalEvent_t |
Definition at line 67 of file frdm_k64f.h.
Referenced by ADS_InitI2CBuses().
| #define I2C_S2_DEVICE_INDEX I2C0_INDEX |
Definition at line 73 of file frdm_k64f.h.
| #define I2C_S2_DRIVER Driver_I2C0 |
Definition at line 72 of file frdm_k64f.h.
| #define I2C_S2_SCL_PIN D15 |
Definition at line 70 of file frdm_k64f.h.
| #define I2C_S2_SDA_PIN D14 |
Definition at line 71 of file frdm_k64f.h.
| #define I2C_S2_SIGNAL_EVENT I2C0_SignalEvent_t |
Definition at line 74 of file frdm_k64f.h.
| #define MAG_NVM_OFFSET 0 |
Definition at line 153 of file frdm_k64f.h.
Referenced by EraseMagCalibrationFromNVM(), fInitializeMagCalibration(), and SaveMagCalibrationToNVM().
| #define SPI_S_BAUDRATE 500000U |
Transfer baudrate - 500k.
Definition at line 88 of file frdm_k64f.h.
Referenced by ADS_InitSPIBus(), and main().
| #define SPI_S_DEVICE_INDEX SPI0_INDEX |
Definition at line 89 of file frdm_k64f.h.
Referenced by ADS_DIFF_PQuery(), ADS_FXLS8471Query(), ADS_FXLS8962Query(), and main().
| #define SPI_S_DRIVER Driver_SPI0 |
Definition at line 87 of file frdm_k64f.h.
Referenced by main().
| #define SPI_S_MISO D12 |
Definition at line 86 of file frdm_k64f.h.
| #define SPI_S_MOSI D11 |
Definition at line 85 of file frdm_k64f.h.
| #define SPI_S_SCLK D13 |
Definition at line 84 of file frdm_k64f.h.
| #define SPI_S_SIGNAL_EVENT SPI0_SignalEvent_t |
Definition at line 90 of file frdm_k64f.h.
Referenced by ADS_InitSPIBus(), and main().
| #define THIS_BOARD 5 |
| #define WIRED_UART UART0 |
KSDK instance name for the debug UART.
Definition at line 119 of file frdm_k64f.h.
Referenced by echo(), initializeControlPort(), WIRED_UART_IRQHandler(), and writeControlPort().
| #define WIRED_UART_CLKSRC UART0_CLK_SRC |
KSDK instance name for the clock feeding this module.
Definition at line 129 of file frdm_k64f.h.
Referenced by initializeControlPort().
| #define WIRED_UART_IRQHandler UART0_RX_TX_IRQHandler |
KDSK-specified IRQ handler name.
Definition at line 126 of file frdm_k64f.h.
| #define WIRED_UART_IRQn UART0_RX_TX_IRQn |
The interrupt number associated with this IRQ.
KSDK interrupt vector number.
Definition at line 130 of file frdm_k64f.h.
Referenced by initializeControlPort().
| #define WIRED_UART_IRQn UART0_RX_TX_IRQn |
The interrupt number associated with this IRQ.
KSDK interrupt vector number.
Definition at line 130 of file frdm_k64f.h.
| #define WIRED_UART_MUX kPORT_MuxAlt3 |
If Using Orient App then use Host I/O.
KDSK pin mux selector
Definition at line 124 of file frdm_k64f.h.
Referenced by initializeControlPort().
| #define WIRED_UART_PORT PORTB |
KDSK handle for the pin port associated with this UART.
Definition at line 121 of file frdm_k64f.h.
Referenced by initializeControlPort().
| #define WIRED_UART_PORT_CLKEN kCLOCK_PortB |
KDSK handle for the pin port clock enable.
Definition at line 120 of file frdm_k64f.h.
Referenced by initializeControlPort().
| #define WIRED_UART_RX_PIN 16U |
The port number associated with RX.
Definition at line 122 of file frdm_k64f.h.
Referenced by initializeControlPort().
| #define WIRED_UART_TX_PIN 17U |
The port number associated with TX.
Definition at line 123 of file frdm_k64f.h.
Referenced by initializeControlPort().
| #define WIRELESS_UART UART3 |
KSDK instance name for the debug UART.
Definition at line 133 of file frdm_k64f.h.
Referenced by initializeControlPort(), WIRELESS_UART_IRQHandler(), writeControlPort(), and writeWirelessPort().
| #define WIRELESS_UART_CLKSRC UART3_CLK_SRC |
KSDK instance name for the clock feeding this module.
Definition at line 141 of file frdm_k64f.h.
Referenced by initializeControlPort().
| #define WIRELESS_UART_IRQHandler UART3_RX_TX_IRQHandler |
KDSK-specified IRQ handler name.
Definition at line 139 of file frdm_k64f.h.
| #define WIRELESS_UART_IRQn UART3_RX_TX_IRQn |
The interrupt number associated with this IRQ.
KSDK interrupt vector number.
Definition at line 142 of file frdm_k64f.h.
Referenced by initializeControlPort().
| #define WIRELESS_UART_IRQn UART3_RX_TX_IRQn |
The interrupt number associated with this IRQ.
KSDK interrupt vector number.
Definition at line 142 of file frdm_k64f.h.
| #define WIRELESS_UART_MUX kPORT_MuxAlt3 |
KDSK pin mux selector.
Definition at line 138 of file frdm_k64f.h.
Referenced by initializeControlPort().
| #define WIRELESS_UART_PORT PORTC |
KDSK handle for the pin port associated with this UART.
Definition at line 135 of file frdm_k64f.h.
Referenced by initializeControlPort().
| #define WIRELESS_UART_PORT_CLKEN kCLOCK_PortC |
KDSK handle for the pin port clock enable.
Definition at line 134 of file frdm_k64f.h.
Referenced by initializeControlPort().
| #define WIRELESS_UART_RX_PIN 16U |
The port number associated with RX.
Definition at line 136 of file frdm_k64f.h.
Referenced by initializeControlPort().
| #define WIRELESS_UART_TX_PIN 17U |
The port number associated with TX.
Definition at line 137 of file frdm_k64f.h.
Referenced by initializeControlPort().
Definition at line 88 of file frdm_k64f.c.
Definition at line 95 of file frdm_k64f.c.
Definition at line 102 of file frdm_k64f.c.
Definition at line 109 of file frdm_k64f.c.
Definition at line 40 of file frdm_k64f.c.
Definition at line 33 of file frdm_k64f.c.
| gpioHandleKSDK_t BLUE_LED |
Definition at line 195 of file frdm_k64f.c.
Definition at line 72 of file frdm_k64f.c.
Definition at line 79 of file frdm_k64f.c.
| gpioHandleKSDK_t D10 |
Definition at line 172 of file frdm_k64f.c.
| gpioHandleKSDK_t D11 |
Definition at line 56 of file frdm_k64f.c.
| gpioHandleKSDK_t D12 |
Definition at line 63 of file frdm_k64f.c.
| gpioHandleKSDK_t D13 |
Definition at line 49 of file frdm_k64f.c.
| gpioHandleKSDK_t D14 |
Definition at line 24 of file frdm_k64f.c.
| gpioHandleKSDK_t D15 |
Definition at line 17 of file frdm_k64f.c.
Definition at line 116 of file frdm_k64f.c.
Definition at line 123 of file frdm_k64f.c.
Definition at line 130 of file frdm_k64f.c.
Definition at line 137 of file frdm_k64f.c.
Definition at line 50 of file frdm_k64f.h.
Definition at line 158 of file frdm_k64f.c.
Definition at line 165 of file frdm_k64f.c.
| gpioHandleKSDK_t GREEN_LED |
Definition at line 188 of file frdm_k64f.c.
| gpioHandleKSDK_t INT1 |
Definition at line 204 of file frdm_k64f.c.
| gpioHandleKSDK_t INT2 |
Definition at line 211 of file frdm_k64f.c.
| gpioHandleKSDK_t RED_LED |
Definition at line 181 of file frdm_k64f.c.