Atmel Software Framework

SAMG53 Xplained Pro board

Modules

 Configuration
 Symbols to use for configuring the board and its initialization.
 
 Features
 Symbols that describe features and capabilities of the board.
 

Macros

#define ioport_set_pin_peripheral_mode(pin, mode)
 Set peripheral mode for one single IOPORT pin. More...
 
#define ioport_set_port_peripheral_mode(port, masks, mode)
 Set peripheral mode for IOPORT pins. More...
 

Functions

void board_init (void)
 This function initializes the board target resources. More...
 
void system_board_init (void)
 

#define ioport_set_pin_peripheral_mode (   pin,
  mode 
)
Value:
do {\
} while (0)
static void ioport_set_pin_mode(ioport_pin_t pin, ioport_mode_t mode)
Set pin mode for one single IOPORT pin.
Definition: ioport.h:227
static void ioport_disable_pin(ioport_pin_t pin)
Disable IOPORT pin, based on a pin created with IOPORT_CREATE_PIN().
Definition: ioport.h:189

Set peripheral mode for one single IOPORT pin.

It will configure port mode and disable pin mode (but enable peripheral).

Parameters
pinIOPORT pin to configure
modeMode masks to configure for the specified pin (IOPORT Modes)
#define ioport_set_port_peripheral_mode (   port,
  masks,
  mode 
)
Value:
do {\
ioport_set_port_mode(port, masks, mode);\
ioport_disable_port(port, masks);\
} while (0)
static void ioport_disable_port(ioport_port_t port, ioport_port_mask_t mask)
Disable multiple pins in a single IOPORT port.
Definition: ioport.h:200
static void ioport_set_port_mode(ioport_port_t port, ioport_port_mask_t mask, ioport_mode_t mode)
Set multiple pin modes in a single IOPORT port, such as pull-up, pull-down, etc.
Definition: ioport.h:215

Set peripheral mode for IOPORT pins.

It will configure port mode and disable pin mode (but enable peripheral).

Parameters
portIOPORT port to configure
masksIOPORT pin masks to configure
modeMode masks to configure for the specified pin (IOPORT Modes)

void board_init ( void  )

This function initializes the board target resources.

This function should be called to ensure proper initialization of the target board hardware connected to the part.

Referenced by main().

void system_board_init ( void  )