BA / SerialCom

Fork of OmniWheels by Gustav Atmel

Committer:
gustavatmel
Date:
Tue May 01 15:55:34 2018 +0000
Revision:
2:798925c9e4a8
Parent:
1:9c5af431a1f1
bluetooth

Who changed what in which revision?

UserRevisionLine numberNew contents of line
gustavatmel 1:9c5af431a1f1 1 /*
gustavatmel 1:9c5af431a1f1 2 * Copyright (c) 2016, Freescale Semiconductor, Inc.
gustavatmel 1:9c5af431a1f1 3 * All rights reserved.
gustavatmel 1:9c5af431a1f1 4 *
gustavatmel 1:9c5af431a1f1 5 * Redistribution and use in source and binary forms, with or without modification,
gustavatmel 1:9c5af431a1f1 6 * are permitted provided that the following conditions are met:
gustavatmel 1:9c5af431a1f1 7 *
gustavatmel 1:9c5af431a1f1 8 * o Redistributions of source code must retain the above copyright notice, this list
gustavatmel 1:9c5af431a1f1 9 * of conditions and the following disclaimer.
gustavatmel 1:9c5af431a1f1 10 *
gustavatmel 1:9c5af431a1f1 11 * o Redistributions in binary form must reproduce the above copyright notice, this
gustavatmel 1:9c5af431a1f1 12 * list of conditions and the following disclaimer in the documentation and/or
gustavatmel 1:9c5af431a1f1 13 * other materials provided with the distribution.
gustavatmel 1:9c5af431a1f1 14 *
gustavatmel 1:9c5af431a1f1 15 * o Neither the name of Freescale Semiconductor, Inc. nor the names of its
gustavatmel 1:9c5af431a1f1 16 * contributors may be used to endorse or promote products derived from this
gustavatmel 1:9c5af431a1f1 17 * software without specific prior written permission.
gustavatmel 1:9c5af431a1f1 18 *
gustavatmel 1:9c5af431a1f1 19 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
gustavatmel 1:9c5af431a1f1 20 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
gustavatmel 1:9c5af431a1f1 21 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
gustavatmel 1:9c5af431a1f1 22 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
gustavatmel 1:9c5af431a1f1 23 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
gustavatmel 1:9c5af431a1f1 24 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
gustavatmel 1:9c5af431a1f1 25 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
gustavatmel 1:9c5af431a1f1 26 * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
gustavatmel 1:9c5af431a1f1 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
gustavatmel 1:9c5af431a1f1 28 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
gustavatmel 1:9c5af431a1f1 29 */
gustavatmel 1:9c5af431a1f1 30
gustavatmel 1:9c5af431a1f1 31 #ifndef _FSL_PERIPHERAL_CLOCK_H_
gustavatmel 1:9c5af431a1f1 32 #define _FSL_PERIPHERAL_CLOCK_H_
gustavatmel 1:9c5af431a1f1 33
gustavatmel 1:9c5af431a1f1 34 #include "fsl_clock.h"
gustavatmel 1:9c5af431a1f1 35
gustavatmel 1:9c5af431a1f1 36 /* Array for I2C module clocks */
gustavatmel 1:9c5af431a1f1 37 #define I2C_CLOCK_FREQS \
gustavatmel 1:9c5af431a1f1 38 { \
gustavatmel 1:9c5af431a1f1 39 I2C0_CLK_SRC, I2C1_CLK_SRC, I2C2_CLK_SRC, I2C3_CLK_SRC \
gustavatmel 1:9c5af431a1f1 40 }
gustavatmel 1:9c5af431a1f1 41
gustavatmel 1:9c5af431a1f1 42 /* Array for DSPI module clocks */
gustavatmel 1:9c5af431a1f1 43 #define SPI_CLOCK_FREQS \
gustavatmel 1:9c5af431a1f1 44 { \
gustavatmel 1:9c5af431a1f1 45 DSPI0_CLK_SRC, DSPI1_CLK_SRC, DSPI2_CLK_SRC \
gustavatmel 1:9c5af431a1f1 46 }
gustavatmel 1:9c5af431a1f1 47
gustavatmel 1:9c5af431a1f1 48 #endif /* _FSL_PERIPHERAL_CLOCK_H_ */