Atmel Software Framework

ioport_compat.c File Reference

XMEGA legacy IOPORT software compatibility driver interface.

Copyright (c) 2014-2015 Atmel Corporation. All rights reserved.

#include "ioport_compat.h"

Functions

void ioport_configure_port_pin (void *port, pin_mask_t pin_mask, port_pin_flags_t flags)
 Configure the IO PORT pin function for a set of pins on a port. More...
 

void ioport_configure_port_pin ( void *  port,
pin_mask_t  pin_mask,
port_pin_flags_t  flags 
)

Configure the IO PORT pin function for a set of pins on a port.

Parameters
portPointer to the port
pin_maskMask containing the pins that should be configured
flagsBitmask of flags specifying additional configuration parameters.

References IOPORT_DIR_OUTPUT, IOPORT_INIT_HIGH, PORT_DIRCLR, PORT_DIRSET, PORT_OUTCLR, PORT_OUTSET, and PORT_PIN0CTRL.

Referenced by ioport_configure_group(), ioport_configure_pin(), lowpower_init(), and main().