USBLib API Guide  1.00.00.01
usbulpi.h
Go to the documentation of this file.
1 //*****************************************************************************
2 //
3 // usbulpi.h - Header file for ULPI access functions.
4 //
5 // Copyright (c) 2013-2017 Texas Instruments Incorporated. All rights reserved.
6 // Software License Agreement
7 //
8 // Texas Instruments (TI) is supplying this software for use solely and
9 // exclusively on TI's microcontroller products. The software is owned by
10 // TI and/or its suppliers, and is protected under applicable copyright
11 // laws. You may not combine this software with "viral" open-source
12 // software in order to form a larger program.
13 //
14 // THIS SOFTWARE IS PROVIDED "AS IS" AND WITH ALL FAULTS.
15 // NO WARRANTIES, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT
16 // NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
17 // A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. TI SHALL NOT, UNDER ANY
18 // CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR CONSEQUENTIAL
19 // DAMAGES, FOR ANY REASON WHATSOEVER.
20 //
21 //*****************************************************************************
22 
23 #ifndef __ULPI_H__
24 #define __ULPI_H__
25 
26 #define ULPI_CFG_HS 0x00000000
27 #define ULPI_CFG_FS 0x00000001
28 #define ULPI_CFG_LS 0x00000002
29 #define ULPI_CFG_AUTORESUME 0x00001000
30 #define ULPI_CFG_INVVBUSIND 0x00002000
31 #define ULPI_CFG_PASSTHRUIND 0x00004000
32 #define ULPI_CFG_EXTVBUSDRV 0x00400000
33 #define ULPI_CFG_EXTVBUSIND 0x00800000
34 
35 extern void ULPIConfigSet(uint32_t ui32Base, uint32_t ui32Config);
36 extern void ULPIPowerTransceiver(uint32_t ui32Base, bool bEnable);
37 
38 #endif
void ULPIConfigSet(uint32_t ui32Base, uint32_t ui32Config)
Definition: usbulpi.c:122
void ULPIPowerTransceiver(uint32_t ui32Base, bool bEnable)
Definition: usbulpi.c:162
© Copyright 1995-2019, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale