All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches
Microchip SAML1X

Support for SAML10 and SAML11 boards More...

Detailed Description

Support for SAML10 and SAML11 boards

Files

file  board.h
 Board specific definitions for the Microchip SAML10 & SAML11 Xplained Pro board.
 
file  gpio_params.h
 Board specific configuration of direct mapped GPIOs.
 
file  periph_conf.h
 Peripheral MCU configuration for the Microchip SAML10 & SAML11 Xplained Pro board.
 
#define ATCA_DEVTYPE   ATECC508A
 ATCA device type on SAML1x XPro boards.
 
#define ATCA_PARAM_I2C   I2C_DEV(0)
 I2C bus device is connected to.
 

PORT selection macros

#define _PORT   PORT
 

LED pin definitions and handlers

#define LED0_PIN   GPIO_PIN(PA, 7)
 
#define LED_PORT   _PORT->Group[PA]
 
#define LED0_MASK   (1 << 7)
 
#define LED0_ON   (LED_PORT.OUTCLR.reg = LED0_MASK)
 
#define LED0_OFF   (LED_PORT.OUTSET.reg = LED0_MASK)
 
#define LED0_TOGGLE   (LED_PORT.OUTTGL.reg = LED0_MASK)
 

SW0 (Button) pin definitions

#define BTN0_PIN   GPIO_PIN(PA, 27)
 
#define BTN0_MODE   GPIO_IN_PU
 

Xtimer configuration

#define XTIMER_BACKOFF   (40)
 

Macro Definition Documentation

◆ _PORT

#define _PORT   PORT

Definition at line 47 of file board.h.

◆ ATCA_DEVTYPE

#define ATCA_DEVTYPE   ATECC508A

ATCA device type on SAML1x XPro boards.

Definition at line 36 of file board.h.

◆ ATCA_PARAM_I2C

#define ATCA_PARAM_I2C   I2C_DEV(0)

I2C bus device is connected to.

Definition at line 37 of file board.h.

◆ BTN0_MODE

#define BTN0_MODE   GPIO_IN_PU

Definition at line 70 of file board.h.

◆ BTN0_PIN

#define BTN0_PIN   GPIO_PIN(PA, 27)

Definition at line 69 of file board.h.

◆ LED0_MASK

#define LED0_MASK   (1 << 7)

Definition at line 58 of file board.h.

◆ LED0_OFF

#define LED0_OFF   (LED_PORT.OUTSET.reg = LED0_MASK)

Definition at line 61 of file board.h.

◆ LED0_ON

#define LED0_ON   (LED_PORT.OUTCLR.reg = LED0_MASK)

Definition at line 60 of file board.h.

◆ LED0_PIN

#define LED0_PIN   GPIO_PIN(PA, 7)

Definition at line 55 of file board.h.

◆ LED0_TOGGLE

#define LED0_TOGGLE   (LED_PORT.OUTTGL.reg = LED0_MASK)

Definition at line 62 of file board.h.

◆ LED_PORT

#define LED_PORT   _PORT->Group[PA]

Definition at line 57 of file board.h.

◆ XTIMER_BACKOFF

#define XTIMER_BACKOFF   (40)

Definition at line 77 of file board.h.