USB Serial application

Fork of USBSerial_HelloWorld by Samuel Mokrani

Committer:
Zaitsev
Date:
Sat Dec 16 10:26:48 2017 +0000
Revision:
11:b3f2a8bdac4d
Parent:
10:41552d038a69
A copy for D.S;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Zaitsev 10:41552d038a69 1 /**
Zaitsev 10:41552d038a69 2 ******************************************************************************
Zaitsev 10:41552d038a69 3 * @file crossbar.h
Zaitsev 10:41552d038a69 4 * @brief CROSSBAR hw module register map
Zaitsev 10:41552d038a69 5 * @internal
Zaitsev 10:41552d038a69 6 * @author ON Semiconductor
Zaitsev 10:41552d038a69 7 * $Rev: 2033 $
Zaitsev 10:41552d038a69 8 * $Date: 2013-06-28 17:12:31 +0200 (Fri, 28 Jun 2013) $
Zaitsev 10:41552d038a69 9 ******************************************************************************
Zaitsev 10:41552d038a69 10 * Copyright 2016 Semiconductor Components Industries LLC (d/b/a “ON Semiconductor”).
Zaitsev 10:41552d038a69 11 * All rights reserved. This software and/or documentation is licensed by ON Semiconductor
Zaitsev 10:41552d038a69 12 * under limited terms and conditions. The terms and conditions pertaining to the software
Zaitsev 10:41552d038a69 13 * and/or documentation are available at http://www.onsemi.com/site/pdf/ONSEMI_T&C.pdf
Zaitsev 10:41552d038a69 14 * (“ON Semiconductor Standard Terms and Conditions of Sale, Section 8 Software”) and
Zaitsev 10:41552d038a69 15 * if applicable the software license agreement. Do not use this software and/or
Zaitsev 10:41552d038a69 16 * documentation unless you have carefully read and you agree to the limited terms and
Zaitsev 10:41552d038a69 17 * conditions. By using this software and/or documentation, you agree to the limited
Zaitsev 10:41552d038a69 18 * terms and conditions.
Zaitsev 10:41552d038a69 19 *
Zaitsev 10:41552d038a69 20 * THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED
Zaitsev 10:41552d038a69 21 * OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF
Zaitsev 10:41552d038a69 22 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE.
Zaitsev 10:41552d038a69 23 * ON SEMICONDUCTOR SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL,
Zaitsev 10:41552d038a69 24 * INCIDENTAL, OR CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
Zaitsev 10:41552d038a69 25 * @endinternal
Zaitsev 10:41552d038a69 26 *
Zaitsev 10:41552d038a69 27 * @ingroup crossbar
Zaitsev 10:41552d038a69 28 *
Zaitsev 10:41552d038a69 29 * @details
Zaitsev 10:41552d038a69 30 * Defines magic numbers for the different peripheral devices.
Zaitsev 10:41552d038a69 31 */
Zaitsev 10:41552d038a69 32
Zaitsev 10:41552d038a69 33 #ifndef _CROSSBAR_H_
Zaitsev 10:41552d038a69 34 #define _CROSSBAR_H_
Zaitsev 10:41552d038a69 35
Zaitsev 10:41552d038a69 36 /*************************************************************************************************
Zaitsev 10:41552d038a69 37 * *
Zaitsev 10:41552d038a69 38 * Symbolic Constants *
Zaitsev 10:41552d038a69 39 * *
Zaitsev 10:41552d038a69 40 *************************************************************************************************/
Zaitsev 10:41552d038a69 41
Zaitsev 10:41552d038a69 42 #define CONFIGURE_AS_GPIO (uint8_t)0x00
Zaitsev 10:41552d038a69 43 #define CONFIGURE_AS_RESERVED_0 (uint8_t)0x01
Zaitsev 10:41552d038a69 44 #define CONFIGURE_AS_RESERVED_1 (uint8_t)0x02
Zaitsev 10:41552d038a69 45 #define CONFIGURE_AS_RESERVED_2 (uint8_t)0x03
Zaitsev 10:41552d038a69 46 #define CONFIGURE_AS_PWM (uint8_t)0x04
Zaitsev 10:41552d038a69 47 #define CONFIGURE_AS_I2C (uint8_t)0x05
Zaitsev 10:41552d038a69 48 #define CONFIGURE_AS_SPI (uint8_t)0x06
Zaitsev 10:41552d038a69 49 #define CONFIGURE_AS_UART (uint8_t)0x07
Zaitsev 10:41552d038a69 50
Zaitsev 10:41552d038a69 51 #endif //_CROSSBAR_H_