peripherals.h 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. /***********************************************************************************************************************
  2. * This file was generated by the MCUXpresso Config Tools. Any manual edits made to this file
  3. * will be overwritten if the respective MCUXpresso Config Tools is used to update this file.
  4. **********************************************************************************************************************/
  5. #ifndef _PERIPHERALS_H_
  6. #define _PERIPHERALS_H_
  7. /***********************************************************************************************************************
  8. * Included files
  9. **********************************************************************************************************************/
  10. #include "fsl_common.h"
  11. #include "fsl_lpuart.h"
  12. #include "fsl_clock.h"
  13. #include "fsl_dcp.h"
  14. #if defined(__cplusplus)
  15. extern "C" {
  16. #endif /* __cplusplus */
  17. /***********************************************************************************************************************
  18. * Definitions
  19. **********************************************************************************************************************/
  20. /* Definitions for BOARD_InitPeripherals functional group */
  21. /* Definition of peripheral ID */
  22. #define LPUART1_PERIPHERAL LPUART1
  23. /* Definition of the clock source frequency */
  24. #define LPUART1_CLOCK_SOURCE 4000000UL
  25. /* Definition of peripheral ID */
  26. #define DCP_PERIPHERAL DCP
  27. /***********************************************************************************************************************
  28. * Global variables
  29. **********************************************************************************************************************/
  30. extern const lpuart_config_t LPUART1_config;
  31. /* Common initialization settings */
  32. extern const dcp_config_t DCP_config;
  33. /***********************************************************************************************************************
  34. * Initialization functions
  35. **********************************************************************************************************************/
  36. void BOARD_InitPeripherals(void);
  37. /***********************************************************************************************************************
  38. * BOARD_InitBootPeripherals function
  39. **********************************************************************************************************************/
  40. void BOARD_InitBootPeripherals(void);
  41. #if defined(__cplusplus)
  42. }
  43. #endif
  44. #endif /* _PERIPHERALS_H_ */