afLib 1.3 which is supporting both SPI and UART
Dependencies: vt100 mbed afLib_1_3
edge_utils/edge_pin.h
- Committer:
- Rhyme
- Date:
- 2018-04-23
- Revision:
- 0:87662653a3c6
File content as of revision 0:87662653a3c6:
#ifndef _EDGE_PIN_H_
#define _EDGE_PIN_H_
#if defined (TARGET_KL25Z)
#define PIN_INTR PTD4
#define PIN_ASR_RESET PTA13
#define PIN_SCK PTD1
#define PIN_MOSI PTD2
#define PIN_MISO PTD3
#define PIN_CS PTD0
/* ILI9341 */
#define PIN_CS_TFT PTC7
#define PIN_RESET_TFT PTC4
#define PIN_DC_TFT PTC0
#define PIN_BL_TFT PTC3
#define PIN_FRDM_LEDR PTB18
#define PIN_FRDM_LEDG PTB19
#define PIN_FRDM_LEDB PTD1 /* conflict with SCK orz */
/* on board I2C0 */
// #define PIN_I2C0_SCL PTE24
// #define PIN_I2C0_SDA PTE25
/* external I2C0 */
#define PIN_I2C0_SCL PTC8
#define PIN_I2C0_SDA PTC9
#define PIN_I2C1_SCL PTE1
#define PIN_I2C1_SDA PTE0
#define PIN_AN0 PTB0
#define PIN_AN1 PTB1
#define PIN_AN2 PTB2
#define PIN_LED_R PTB18
#define PIN_LED_G PTB19
#define PIN_LED_B PTD1
#define PIN_UART2_TX PTE22
#define PIN_UART2_RX PTE23
#endif /* TARGET_KL25Z */
#endif /* _EDGE_PIN_H_ */