mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-18 20:28:10 -06:00
18 lines
404 B
C
18 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'
|