Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: UniGraphic mbed vt100
edge_utils/edge_pin.h
- Committer:
- Rhyme
- Date:
- 2018-04-24
- Revision:
- 1:6c54dc8acf96
- Parent:
- 0:0b6732b53bf4
File content as of revision 1:6c54dc8acf96:
#ifndef _EDGE_PIN_H_
#define _EDGE_PIN_H_
#if defined (TARGET_KL25Z)
#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
#if 0
#define PIN_INTR PTD4
#define PIN_LED_R PTA5
#define PIN_LED_G PTA4
#define PIN_LED_B PTA12
#else
#define PIN_INTR PTA5
#define PIN_LED_R PTD4
#define PIN_LED_G PTA12
#define PIN_LED_B PTA4
#endif
#define PIN_PRESS_EN PTC5
#endif /* TARGET_KL25Z */
#endif /* _EDGE_PIN_H_ */