mirror of
https://github.com/andreili/klipper.git
synced 2025-08-24 03:44:06 +02:00
19 lines
404 B
C
19 lines
404 B
C
#include "sam4e.h"
|
|
|
|
// I2C pin definitions
|
|
#define TWI0_SCL_BANK 'A'
|
|
#define TWI0_SCL_PIN PIO_PA4A_TWCK0
|
|
#define TWI0_SCL_PERIPH 'A'
|
|
|
|
#define TWI0_SDA_BANK 'A'
|
|
#define TWI0_SDA_PIN PIO_PA3A_TWD0
|
|
#define TWI0_SDA_PERIPH 'A'
|
|
|
|
#define TWI1_SCL_BANK 'B'
|
|
#define TWI1_SCL_PIN PIO_PB5A_TWCK1
|
|
#define TWI1_SCL_PERIPH 'A'
|
|
|
|
#define TWI1_SDA_BANK 'B'
|
|
#define TWI1_SDA_PIN PIO_PB4A_TWD1
|
|
#define TWI1_SDA_PERIPH 'A'
|