Macros | Functions
init.c File Reference

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"
Include dependency graph for init.c:

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...
 

Functions

 __attribute__ ((optimize("O0")))
 
void board_init (void)
 This function initializes the board target resources. More...
 
void board_IO_config (void)
 
void init_set_board_IO_config_callback (VoidFuncPtrVoid fpIoCfg)
 
void refresh_led_cfg (void)
 
static void tcm_disable (void)
 TCM memory Disable. More...
 

Detailed Description

SAME70-XPLD board init.

Copyright (c) 2015-2018 Microchip Technology Inc. and its subsidiaries.

Definition in file init.c.

Macro Definition Documentation

◆ ioport_set_pin_input_mode

#define ioport_set_pin_input_mode (   pin,
  mode,
  sense 
)
Value:
do {\
ioport_enable_pin((pin));\
ioport_set_pin_dir((pin), IOPORT_DIR_INPUT);\
ioport_set_pin_mode((pin), (mode));\
ioport_set_pin_sense_mode((pin), (sense));\
} while (0)

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)

Parameters
pinIOPORT pin to configure
modeMode masks to configure for the specified pin (IOPORT Modes)
senseSense for interrupt detection (ioport_sense)

Definition at line 64 of file init.c.

Function Documentation

◆ __attribute__()

__attribute__ ( (optimize("O0"))  )

Definition at line 347 of file init.c.

◆ board_IO_config()

void board_IO_config ( void  )

Definition at line 376 of file init.c.

◆ init_set_board_IO_config_callback()

void init_set_board_IO_config_callback ( VoidFuncPtrVoid  fpIoCfg)

Definition at line 371 of file init.c.

◆ refresh_led_cfg()

void refresh_led_cfg ( void  )

Definition at line 355 of file init.c.

◆ tcm_disable()

static void tcm_disable ( void  )
inlinestatic

TCM memory Disable.

The function enables TCM memories

Definition at line 335 of file init.c.



inertial_sense_ros
Author(s):
autogenerated on Sun Feb 28 2021 03:17:59