rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
hw_layer
ports
cypress
serial_over_usb
usbhosthw.h
Go to the documentation of this file.
1
/*******************************************************************************
2
* Copyright (C) 2013-2016, Cypress Semiconductor Corporation or a *
3
* subsidiary of Cypress Semiconductor Corporation. All rights reserved. *
4
* *
5
* This software, including source code, documentation and related *
6
* materials ("Software"), is owned by Cypress Semiconductor Corporation or *
7
* one of its subsidiaries ("Cypress") and is protected by and subject to *
8
* worldwide patent protection (United States and foreign), United States *
9
* copyright laws and international treaty provisions. Therefore, you may use *
10
* this Software only as provided in the license agreement accompanying the *
11
* software package from which you obtained this Software ("EULA"). *
12
* *
13
* If no EULA applies, Cypress hereby grants you a personal, non-exclusive, *
14
* non-transferable license to copy, modify, and compile the *
15
* Software source code solely for use in connection with Cypress's *
16
* integrated circuit products. Any reproduction, modification, translation, *
17
* compilation, or representation of this Software except as specified *
18
* above is prohibited without the express written permission of Cypress. *
19
* *
20
* Disclaimer: THIS SOFTWARE IS PROVIDED AS-IS, WITH NO *
21
* WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING, *
22
* BUT NOT LIMITED TO, NONINFRINGEMENT, IMPLIED *
23
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A *
24
* PARTICULAR PURPOSE. Cypress reserves the right to make *
25
* changes to the Software without notice. Cypress does not assume any *
26
* liability arising out of the application or use of the Software or any *
27
* product or circuit described in the Software. Cypress does not *
28
* authorize its products for use in any products where a malfunction or *
29
* failure of the Cypress product may reasonably be expected to result in *
30
* significant property damage, injury or death ("High Risk Product"). By *
31
* including Cypress's product in a High Risk Product, the manufacturer *
32
* of such system or application assumes all risk of such use and in doing *
33
* so agrees to indemnify Cypress against all liability. *
34
*******************************************************************************/
35
/************************************************************************/
36
/** \file UsbHostHW.h
37
**
38
** USB hardware specific settings
39
**
40
** History:
41
** - 2010-10-14 1.0 MSc First version (works with 16FX,FR80)
42
** - 2011-03-30 1.1 MSc Compatible with FSEU Host drivers 2011-03-30
43
*****************************************************************************/
44
45
#ifndef __USBHOSTHW_H__
46
#define __USBHOSTHW_H__
47
48
#define HOST0VBUS_DEINIT
49
#define HOST0VBUS_INIT
50
#define HOST0VBUS_SET
51
#define HOST0VBUS_CLEAR
52
#define HOST0VBUS_GET
53
#define HOST0VBUS_ENABLED 0
54
55
#define HOST0OTGPULLDOWN_DEINIT
56
#define HOST0OTGPULLDOWN_INIT
57
#define HOST0OTGPULLDOWN_SET
58
#define HOST0OTGPULLDOWN_CLEAR
59
#define HOST0OTGPULLDOWN_GET 1
60
#define HOST0OTGPULLDOWN_ENABLED 0
61
62
#define HOST0OVERCURRENT_DISABLEISR
63
#define HOST0OVERCURRENT_ENABLEISR
64
#define HOST0OVERCURRENT_CLEARISRFLAG
65
#define HOST0OVERCURRENT_ISRISSET 0
66
#define HOST0OVERCURRENT_SETLOWDETECT
67
#define HOST0OVERCURRENT_SETHIGHDETECT
68
#define HOST0OVERCURRENT_HIGHDETECT 0
69
#define HOST0OVERCURRENT_INIT
70
#define HOST0OVERCURRENT_DEINIT
71
#define HOST0OVERCURRENT_ENABLED 0
72
73
74
#define HOST1VBUS_DEINIT
75
#define HOST1VBUS_INIT
76
#define HOST1VBUS_SET
77
#define HOST1VBUS_CLEAR
78
#define HOST1VBUS_GET 0
79
#define HOST1VBUS_ENABLED 0
80
81
#define HOST1OTGPULLDOWN_DEINIT
82
#define HOST1OTGPULLDOWN_INIT
83
#define HOST1OTGPULLDOWN_SET
84
#define HOST1OTGPULLDOWN_CLEAR
85
#define HOST1OTGPULLDOWN_GET 1
86
#define HOST1OTGPULLDOWN_ENABLED 0
87
88
#define HOST1OVERCURRENT_DISABLEISR
89
#define HOST1OVERCURRENT_ENABLEISR
90
#define HOST1OVERCURRENT_CLEARISRFLAG
91
#define HOST1OVERCURRENT_ISRISSET 0
92
#define HOST1OVERCURRENT_SETLOWDETECT
93
#define HOST1OVERCURRENT_SETHIGHDETECT
94
#define HOST1OVERCURRENT_HIGHDETECT 0
95
#define HOST1OVERCURRENT_INIT
96
#define HOST1OVERCURRENT_DEINIT
97
#define HOST0OVERCURRENT_ENABLED 0
98
99
100
#endif
Generated on Sat Sep 27 2025 00:10:07 for rusEFI by
1.9.8