50 lines
2.4 KiB
C
50 lines
2.4 KiB
C
/***********************************************************************************************************************
|
|
* This file was generated by the MCUXpresso Config Tools. Any manual edits made to this file
|
|
* will be overwritten if the respective MCUXpresso Config Tools is used to update this file.
|
|
**********************************************************************************************************************/
|
|
|
|
#ifndef _PERIPHERALS_H_
|
|
#define _PERIPHERALS_H_
|
|
|
|
/***********************************************************************************************************************
|
|
* Included files
|
|
**********************************************************************************************************************/
|
|
#include "fsl_common.h"
|
|
#include "fsl_spi.h"
|
|
|
|
#if defined(__cplusplus)
|
|
extern "C" {
|
|
#endif /* __cplusplus */
|
|
|
|
/***********************************************************************************************************************
|
|
* Definitions
|
|
**********************************************************************************************************************/
|
|
/* Definitions for BOARD_InitPeripherals_cm33_core0 functional group */
|
|
/* BOARD_InitPeripherals_cm33_core0 defines for FLEXCOMM3 */
|
|
/* Definition of peripheral ID */
|
|
#define FLEXCOMM3_PERIPHERAL ((SPI_Type *)FLEXCOMM3)
|
|
/* Definition of the clock source frequency */
|
|
#define FLEXCOMM3_CLOCK_SOURCE 48000000UL
|
|
|
|
/***********************************************************************************************************************
|
|
* Global variables
|
|
**********************************************************************************************************************/
|
|
extern const spi_master_config_t FLEXCOMM3_config;
|
|
|
|
/***********************************************************************************************************************
|
|
* Initialization functions
|
|
**********************************************************************************************************************/
|
|
|
|
void BOARD_InitPeripherals_cm33_core0(void);
|
|
|
|
/***********************************************************************************************************************
|
|
* BOARD_InitBootPeripherals function
|
|
**********************************************************************************************************************/
|
|
void BOARD_InitBootPeripherals(void);
|
|
|
|
#if defined(__cplusplus)
|
|
}
|
|
#endif
|
|
|
|
#endif /* _PERIPHERALS_H_ */
|