diff --git a/boards/same54-xpro/include/board.h b/boards/same54-xpro/include/board.h index 6f7cb8db3a..6998ca486a 100644 --- a/boards/same54-xpro/include/board.h +++ b/boards/same54-xpro/include/board.h @@ -76,13 +76,6 @@ extern "C" { #define BTN0_MODE GPIO_IN_PU /** @} */ -/** - * @name ATA6561 STANDBY pin definition - * @{ - */ -#define AT6561_STBY_PIN GPIO_PIN(PC, 13) -/** @} */ - /** * @name MTD configuration * @{ diff --git a/boards/same54-xpro/include/periph_conf.h b/boards/same54-xpro/include/periph_conf.h index 8b208f8f0f..17a4f0fea8 100644 --- a/boards/same54-xpro/include/periph_conf.h +++ b/boards/same54-xpro/include/periph_conf.h @@ -106,6 +106,13 @@ static const tc32_conf_t timer_config[] = { #define TIMER_NUMOF ARRAY_SIZE(timer_config) /** @} */ +/** + * @brief ATA6561 STANDBY pin definition + * @{ + */ +#define AT6561_STBY_PIN GPIO_PIN(PC, 13) +/** @} */ + /** * @name CAN configuration * @{ @@ -117,6 +124,9 @@ static const can_conf_t candev_conf[] = { .rx_pin = GPIO_PIN(PB, 13), .tx_pin = GPIO_PIN(PB, 12), .gclk_src = SAM0_GCLK_PERIPH, + .enable_pin = AT6561_STBY_PIN, + .enable_pin_mode = GPIO_OUT, + .enable_pin_active_low = true, } };