Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages

Evaluation Board for atpl230a devices.

Modules

 "ATPL230AMB - Board informations"
 Definitions related to the board description.
 
 "ATPL230AMB - Operating frequencies"
 Definitions related to the board operating frequency.
 
 "ATPL230AMB - Features"
 Symbols that describe features and capabilities of the board.
 

Macros

#define ioport_set_pin_input_mode(pin, mode, sense)
 Set input mode for one single IOPORT pin. More...
 
#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...
 

#define ioport_set_pin_input_mode (   pin,
  mode,
  sense 
)
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:217
Definition: ioport.h:77
static void ioport_set_pin_dir(ioport_pin_t pin, enum ioport_direction dir)
Set direction for a single IOPORT pin.
Definition: ioport.h:263
static void ioport_set_pin_sense_mode(ioport_pin_t pin, enum ioport_sense pin_sense)
Set the pin sense mode of a single IOPORT pin.
Definition: ioport.h:350

Set input 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)
senseSense for interrupt detection (ioport_sense)

Referenced by board_init().

#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:217
static void ioport_disable_pin(ioport_pin_t pin)
Disable IOPORT pin, based on a pin created with IOPORT_CREATE_PIN().
Definition: ioport.h:179

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)

Referenced by board_init().

#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:190
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:205

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)

Referenced by board_init().