SAME70-XPLD board init. More...
#include "compiler.h"
#include "board.h"
#include "conf_board.h"
#include "ioport.h"
#include "pio.h"
#include "../../../../../../../src/data_sets.h"
#include "../../../../../../../hw-libs/drivers/d_usartDMA.h"
#include "../../../../drivers/d_time.h"
#include "../../../../spiTouINS.h"
#include "../../../../xbee.h"
#include "../../../../wifi.h"
#include "../../../../globals.h"
#include "../../../../CAN.h"
Go to the source code of this file.
Macros | |
#define | ioport_set_pin_input_mode(pin, mode, sense) |
Set input mode for one single IOPORT pin. It will configure port mode and disable pin mode (but enable peripheral). The "ioport_enable_pin(pin);" line is necessary to allow tristate. (whj) More... | |
#define | ioport_set_pin_peripheral_mode(pin, mode) |
Set peripheral mode for one single IOPORT pin. It will configure port mode and disable pin mode (but enable peripheral). More... | |
#define | ioport_set_port_peripheral_mode(port, masks, mode) |
Set peripheral mode for IOPORT pins. It will configure port mode and disable pin mode (but enable peripheral). More... | |
Functions | |
__attribute__ ((optimize("O0"))) | |
void | board_init (void) |
This function initializes the board target resources. More... | |
void | board_IO_config (void) |
void | refresh_CFG_LED (void) |
static void | tcm_disable (void) |
TCM memory Disable. More... | |
SAME70-XPLD board init.
Copyright (c) 2015-2018 Microchip Technology Inc. and its subsidiaries.
Definition in file init.c.
#define ioport_set_pin_input_mode | ( | pin, | |
mode, | |||
sense | |||
) |
Set input mode for one single IOPORT pin. It will configure port mode and disable pin mode (but enable peripheral). The "ioport_enable_pin(pin);" line is necessary to allow tristate. (whj)
pin | IOPORT pin to configure |
mode | Mode masks to configure for the specified pin (IOPORT Modes) |
sense | Sense for interrupt detection (ioport_sense) |
#define ioport_set_pin_peripheral_mode | ( | pin, | |
mode | |||
) |
Set peripheral mode for one single IOPORT pin. It will configure port mode and disable pin mode (but enable peripheral).
pin | IOPORT pin to configure |
mode | Mode masks to configure for the specified pin (IOPORT Modes) |
#define ioport_set_port_peripheral_mode | ( | port, | |
masks, | |||
mode | |||
) |
Set peripheral mode for IOPORT pins. It will configure port mode and disable pin mode (but enable peripheral).
port | IOPORT port to configure |
masks | IOPORT pin masks to configure |
mode | Mode masks to configure for the specified pin (IOPORT Modes) |
__attribute__ | ( | (optimize("O0")) | ) |