Skip to content

Instantly share code, notes, and snippets.

@corecode
Created September 16, 2021 20:49
Show Gist options
  • Save corecode/caf40dd2ae1897ca87914ea4f96013c5 to your computer and use it in GitHub Desktop.
Save corecode/caf40dd2ae1897ca87914ea4f96013c5 to your computer and use it in GitHub Desktop.
{
    dsts = 0x600,
    gintsts = 0x400943c,
    grxstsr = 0xc0080 # EP0 SETUP received, 8 bytes
}
{
    dsts = 0x600,
    gintsts = 0x4009434,
    grxstsr = 0x60000 # EP 0 OUT transfer completed
}
{
    dsts = 0x700,
    gintsts = 0x400943c,
    grxstsr = 0x80000 # EP 0 SETUP transaction completed
}
{
    dsts = 0x700,
    gintsts = 0x404942c,
    grxstsr = 0x0
}
{
    dsts = 0x800,
    gintsts = 0x400943c,
    grxstsr = 0x50000 # EP 0 OUT data received, 0 bytes
}
{
    dsts = 0x800,
    gintsts = 0x4009434,
    grxstsr = 0x60000 # EP 0 OUT transfer completed
}
{
    dsts = 0xb00,
    gintsts = 0x400943c,
    grxstsr = 0x40401 # EP 1 OUT packet received, 64 bytes
}
{
    dsts = 0xb00,
    gintsts = 0x4009434,
    grxstsr = 0x60001 # EP 1 OUT transfer completed
}
{
    dsts = 0xc00,
    gintsts = 0x404942c,
    grxstsr = 0x0
}
{
    dsts = 0xd00,
    gintsts = 0x400943c,
    grxstsr = 0x50401 # EP 1 OUT packet received, 64 bytes
}
{
    dsts = 0xd00,
    gintsts = 0x4009434,
    grxstsr = 0x60001 # EP 1 OUT transfer completed
}
{
    dsts = 0xe00,
    gintsts = 0x404942c,
    grxstsr = 0x0
}
{
    dsts = 0xf00,
    gintsts = 0x400943c,
    grxstsr = 0x40401 # EP 1 OUT packet received, 64 bytes
}
{
    dsts = 0xf00,
    gintsts = 0x4009434,
    grxstsr = 0x60001 # EP 1 OUT transfer completed
}
{
    dsts = 0x1000,
    gintsts = 0x404942c,
    grxstsr = 0x0
}
{
    dsts = 0x1100,
    gintsts = 0x400943c,
    grxstsr = 0x50401 # EP 1 OUT packet received, 64 bytes
}
{
    dsts = 0x1100,
    gintsts = 0x4009434,
    grxstsr = 0x0 # what?
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment