?? otg.h
字號:
/*
** WASABI-Hot! version 1.2c (OTG sub-unit)
**
**
** -- copyright (c) 2001-2004 by Philips Japan, Ltd. -- All rights reserved --
**
**
** ** This code has been made to check/learn **
** ** the ISP1362/ISP1363 functionalities **
** ** Release 06-Aug-2004 **
**
** OKANO, Akifumi
**
** Application Laboratory, Mobile and Connectivity
** Semiconductors Div, Philips Japan Ltd.
** akifumi.okano@philips.com
** +81-3-3740-4668
*/
/****************************************************************************/
/* includes */
/****************************************************************************/
#include "_hc_core/dev_ep.h"
/****************************************************************************/
/* constants */
/****************************************************************************/
#define ID_STRING_LENGTH 10
/****************************************************************************/
/* global vars */
/****************************************************************************/
extern char gp_id_string[ ID_STRING_LENGTH + 1 ];
extern unsigned char gp_full_enumeration_at_non_BR_A_HOST;
extern unsigned char gp_emulate_peripheral_only;
/****************************************************************************/
/* function prototypes */
/****************************************************************************/
void OTG_initialize( void );
void OTG_host_enable_command_from_A_device( unsigned short val );
unsigned char OTG_bus_request_ON( void );
unsigned char OTG_bus_request_OFF( void );
void OTG_bus_drop( void );
void OTG_exit_from_host_state( void );
void OTG_exit_from_peripheral_state( void );
unsigned char OTG_host_operation_enabled( void );
unsigned char OTG_peripheral_operation_enabled( void );
unsigned char otg_enable_B_host( void );
void otg_handle_OTG_descriptor( unsigned char *buf );
void otg_fn_OTG_isr(void);
void OTG_bus_request_Toggle( void );
void OTG_bus_drop_Toggle( void );
void OTG_show_port_status( void );
unsigned char otg_wait_to_get_mastership( void );
void OTG_Dc_start( void );
void OTG_Dc_bus_reset( void );
void OTG_Dc_bus_suspend( void );
void OTG_Dc_bus_resume( void );
device_instance *otg_host_process_for_HNP( void );
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -