Author | Albert Faber, Copyright © 2008..2009, all rights reserved. |
Adapted-by | - Matthew Schinkel |
Compiler | >=2.4q2 |
Routines for controlling the USB serial interface engine sending which will ensure the highest possible accuracy.
http://www.usb.org for USB specifications
usb_send_one_byte(byte in data)
usb_stall_ep0()
usb_prime_epx_out( byte in end_point, byte in size )
usb_send_empty_data_pkt()
usb_send_status_ack()
usb_send_data_chunk()
usb_send_data(byte in endpoint, byte in data[], byte in byte_cnt, bit in is_new_sequence )
usb_configure_endpoints()
usb_prime_ep0_out()
usb_send_one_byte(byte in data)
This procedure will send one byte, with the contend specified by the data input parameter, normally not called by the end user
usb_stall_ep0()
No documentation found
usb_prime_epx_out( byte in end_point, byte in size )
No documentation found
usb_send_empty_data_pkt()
This procedure sends an empty USB packet, normally not called by the end user
usb_send_status_ack()
This procedure sends an USB acknowledge packet, normally not called by the end user
usb_send_data_chunk()
This procedure sends the content of the USB delivery buffer in the USB SIE
usb_send_data(byte in endpoint, byte in data[], byte in byte_cnt, bit in is_new_sequence )
This procedure will send the content of an array to the USB end point. The endpoint input parameter contains the the enpoint number, data[] is the content to be send, byte_cnt the number of bytes to be send, and is_new_sequence determines if the data tranmission is starting with USB packet o (if set to true), otherwise the USB packet is toggled before transmission.
usb_configure_endpoints()
This procedure will setup and initalize the USB endpoints, normally not called by the end user
usb_prime_ep0_out()
No documentation found
_usb_copy_array_to_ram(word in dst, byte in data[], byte in num_bytes )
Internal memory copy procedure This function copies the content from a source array towards the specified destination memory location. The function copies num_bytes bytes
18f14k50 | 18f14k50_usb_bootloader.jal |
18f14k50 | 18f14k50_usb_hid_mouse.jal |
18f14k50 | 18f14k50_usb_hid_generic.jal |
18f14k50 | 18f14k50_usb_bootloader_autostart.jal |
18f2450 | 18f2450_usb_bootloader.jal |
18f2450 | 18f2450_usb_bootloader_autostart.jal |
18f2450 | 18f2450_usb_hid_generic.jal |
18f2450 | 18f2450_usb_hid_mouse.jal |
18f2550 | 18f2550_usb_bootloader_autostart.jal |
18f2550 | 18f2550_usb_hid_mouse.jal |
18f2550 | 18f2550_usb_hid_generic.jal |
18f4550 | 18f4550_usb_bootloader_autostart.jal |
18f4550 | 18f4550_usb_hid_generic.jal |
18f4550 | 18f4550_usb_bootloader.jal |
18f4550 | 18f4550_usb_hid_mouse.jal |
18f67j50 | 18f67j50_usb_hid_mouse.jal |
18f67j50 | 18f67j50_usb_bootloader_autostart.jal |
18f67j50 | 18f67j50_usb_hid_generic.jal |