RP.USB_Device

Entities

Tagged Types

Subprograms

Description

Early_Address

function Early_Address
   (This : USB_Device_Controller)
   return Boolean
Parameters
This
Return Value

EP_Ready_For_Data

procedure EP_Ready_For_Data
   (This     : in out USB_Device_Controller;
    Ep       : USB.EP_Id;
    Max_Len  : USB.Packet_Size;
    Ready    : Boolean := True)
Parameters
This
Ep
Max_Len
Ready

EP_Send_Packet

procedure EP_Send_Packet
   (This : in out USB_Device_Controller;
    Ep   : USB.EP_Id;
    Len  : USB.Packet_Size)
Parameters
This
Ep
Len

EP_Setup

procedure EP_Setup
   (This     : in out USB_Device_Controller;
    Ep       : USB.EP_Addr;
    Typ      : USB.EP_Type)
Parameters
This
Ep
Typ

EP_Stall

procedure EP_Stall
   (This     : in out USB_Device_Controller;
    Ep       : USB.EP_Addr;
    Set      : Boolean := True)
Parameters
This
Ep
Set

Initialize

procedure Initialize
   (This : in out USB_Device_Controller)
Parameters
This

Poll

function Poll
   (This : in out USB_Device_Controller)
    return USB.HAL.Device.UDC_Event
Parameters
This
Return Value

Request_Buffer

function Request_Buffer
  (This : in out USB_Device_Controller;
   Ep   : USB.EP_Addr;
   Len  : USB.Packet_Size)
    return System.Address
Parameters
This
Ep
Len
Return Value

Reset

procedure Reset
   (This : in out USB_Device_Controller)
Parameters
This

Set_Address

procedure Set_Address
   (This : in out USB_Device_Controller;
    Addr : UInt7)
Parameters
This
Addr

Start

procedure Start
   (This : in out USB_Device_Controller)
Parameters
This

USB_Device_Controller

type USB_Device_Controller is new USB.HAL.Device.USB_Device_Controller with private;

Valid_EP_Id

function Valid_EP_Id
   (This : in out USB_Device_Controller;
    Ep   : USB.EP_Id)
    return Boolean
Parameters
This
Ep
Return Value