mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge pull request #20279 from keestux/add-sara-sff-status
boards/sodaq-sara-sff: add status pin for SARA
This commit is contained in:
commit
a67793d601
@ -38,6 +38,10 @@ void board_init(void)
|
||||
SARA_R4XX_PWR_ON_ON;
|
||||
gpio_init(SARA_R4XX_PWR_ON_PIN, GPIO_IN);
|
||||
|
||||
/* The SARA pin V_INT is available as SARA_STATUS_PIN.
|
||||
*/
|
||||
gpio_init(SARA_STATUS_PIN, GPIO_IN);
|
||||
|
||||
/* Disable GPS by default */
|
||||
GPS_ENABLE_OFF;
|
||||
gpio_init(GPS_ENABLE_PIN, GPIO_OUT);
|
||||
|
@ -146,6 +146,8 @@ extern "C" {
|
||||
#define SARA_R4XX_PWR_ON_OFF (SARA_R4XX_PWR_ON_PORT.OUTCLR.reg = SARA_R4XX_PWR_ON_MASK)
|
||||
/** @} */
|
||||
|
||||
#define SARA_STATUS_PIN GPIO_PIN(PA, 28) /**< This is the V_INT of the board */
|
||||
|
||||
/**
|
||||
* @name INT_MAG
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user