| LPCOpen Platform v1.03 LPCOpen Platform for NXP LPC Microcontrollers

- Main Page
- Modules
- Data Structures
- Files
- Related Pages

- File List
- Globals

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
Host.c File Reference
`#include "USBMode.h"`
`#include "Host.h"`

Go to the source code of this file.

## Functions
void | USB_Host_SetDeviceSpeed (uint8_t hostid, HCD_USB_SPEED speed)
HCD_USB_SPEED | USB_Host_GetDeviceSpeed (uint8_t hostid)
void | USB_Host_ProcessNextHostState (uint8_t corenum)
uint8_t | USB_Host_WaitMS (uint8_t MS)
void | USB_Host_Enumerate (uint8_t HostId)
void | USB_Host_DeEnumerate (uint8_t HostId)
void | USB_Host_SetActiveHost (uint8_t hostid)
uint8_t | USB_Host_GetActiveHost (void)
| Get current active host core number.
uint16_t | USB_Host_GetFrameNumber (void)

## Variables
uint8_t | USB_Host_ControlPipeSize [MAX_USB_CORE]

## Function Documentation

HCD_USB_SPEED USB_Host_GetDeviceSpeed | ( | uint8_t | hostid | ) |

Definition at line 235 of file Host.c.

uint16_t USB_Host_GetFrameNumber | ( | void |  | ) |

Definition at line 243 of file Host.c.

void USB_Host_ProcessNextHostState | ( | uint8_t | corenum | ) |

Definition at line 47 of file Host.c.

void USB_Host_SetActiveHost | ( | uint8_t | hostid | ) |

Definition at line 220 of file Host.c.

void USB_Host_SetDeviceSpeed | ( | uint8_t | hostid,
|  | HCD_USB_SPEED | speed
| ) |  |

Definition at line 230 of file Host.c.

uint8_t USB_Host_WaitMS | ( | uint8_t | MS | ) |

Definition at line 193 of file Host.c.