dRonin  adbada4
dRonin firmware
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
USB CDC COM layer functions

Hardware communication layer. More...

Files

file  pios_usb_cdc_priv.h
 USB COM CDC private definitions.
 
file  pios_usb_hid_priv.h
 USB COM HID private definitions.
 

Data Structures

struct  pios_usb_cdc_cfg
 
struct  pios_usb_hid_cfg
 

Macros

#define USB_CDC_CONTROL_LINE_STATE_DTE_PRESENT   0x01
 

Functions

int32_t PIOS_USB_CDC_Init (uintptr_t *usbcdc_id, const struct pios_usb_cdc_cfg *cfg, uintptr_t lower_id)
 
int32_t PIOS_USB_HID_Init (uintptr_t *usbhid_id, const struct pios_usb_hid_cfg *cfg, uintptr_t lower_id)
 

Variables

const struct pios_com_driver pios_usb_cdc_com_driver
 
struct pios_usb_hid_cfg __attribute__
 
const struct pios_com_driver pios_usb_hid_com_driver
 

Detailed Description

Hardware communication layer.

PIOS USB COM implementation for CDC interfaces This implements a CDC Serial Port.

Macro Definition Documentation

#define USB_CDC_CONTROL_LINE_STATE_DTE_PRESENT   0x01

Definition at line 48 of file pios_usb_cdc_priv.h.

Function Documentation

int32_t PIOS_USB_CDC_Init ( uintptr_t *  usbcdc_id,
const struct pios_usb_cdc_cfg cfg,
uintptr_t  lower_id 
)
int32_t PIOS_USB_HID_Init ( uintptr_t *  usbhid_id,
const struct pios_usb_hid_cfg cfg,
uintptr_t  lower_id 
)

Variable Documentation

const struct pios_com_driver pios_usb_cdc_com_driver
const struct pios_com_driver pios_usb_hid_com_driver