mcp2210.c


Log

Author Commit Date CI Message
Con Kolivas 22a855c1 2014-01-09T16:06:46 Set the mcp2210 transfer setting only when it changes.
Con Kolivas ad6afa39 2014-01-08T22:18:02 Use the internal knowledge of the usb epinfo to determine whether we should be doing an interrupt instead of a bulk transfer, and do not send a ZLP if so, and limit read transfer to expected size automatically.
Con Kolivas 36454f60 2014-01-08T21:27:04 Revert "Pad all larger spi transfers to 60 bytes since intermediate sized ones make it expect more data." This reverts commit e0623430cf7fd6a0477ecd463410627394f77c41.
Con Kolivas e0623430 2014-01-06T20:56:24 Pad all larger spi transfers to 60 bytes since intermediate sized ones make it expect more data.
Con Kolivas 752bfa76 2014-01-06T12:56:50 Status 0x30 should never happen with spi transfers.
Con Kolivas 54da93dd 2014-01-06T11:36:31 Fix spi transfer data size transmission mistakes.
Con Kolivas cc64d66b 2014-01-05T22:07:22 Meter out spi sends to only 2 bytes at a time, offsetting according to how much data returns.
Con Kolivas d5a074b8 2014-01-05T20:14:03 Use the usb read limit function for mcp2210 reads.
Con Kolivas 7e4f6866 2014-01-05T17:05:11 Remove all standalone gpio setting change functions in mcp2210 and just use the one global setting function.
Con Kolivas c049387f 2014-01-05T16:55:05 Set gpio values in the one function with all values for nanofury.
Con Kolivas 24611bda 2014-01-05T16:17:53 Provide a helper function for setting all mcp2210 gpio settings.
Con Kolivas f32f093f 2014-01-05T16:06:35 Add a helper function for getting all mcp2210 gpio settings.
Con Kolivas 9fe4ec90 2014-01-05T09:06:19 Provide helper functions for setting all pins and dirs on mcp2210
Con Kolivas 6bfd6d80 2014-01-05T08:49:08 Provide a helper function for setting all pin designations on mcp2210
Con Kolivas df676cad 2014-01-05T00:18:50 Checked the received status in mcp2210 spi transfers and repeat a zero byte send if it's in progress.
Con Kolivas 60076222 2014-01-04T23:38:11 Set the bytes per spi transfer prior to each mcp2210 transfer.
Con Kolivas 1d7d7310 2014-01-04T22:10:04 Separate out the send and receive functions for mcp2210 and check response value in return.
Con Kolivas 2a68889c 2014-01-04T21:51:00 Check that mcp2210 spi settings have taken and check the value of the pin during nanofury setup.
Con Kolivas 8e4de073 2014-01-04T21:26:57 Don't set GPIO pin designations after initial setting in nanofury since the direction and values will be changed.
Con Kolivas 9b58c5cb 2014-01-04T20:40:16 Provide an mcp 2210 set gpio input helper function that sets a pin to gpio and input.
Con Kolivas a01fbc30 2014-01-04T20:35:59 Move the set gpio output function to a generic mcp2210 version from nanofury which also sets the pin to gpio.
Con Kolivas 2d4adfa5 2014-01-04T20:10:00 Implement a nanofury txrx with a larger buffer and cycling over data too large to send.
Con Kolivas a872f691 2014-01-04T10:47:17 Implement and mcp2210 spi transfer function.
Con Kolivas c1416763 2014-01-04T10:11:05 Provide a helper function for gettings mcp2210 spi settings.
Con Kolivas e2fd2567 2014-01-04T09:57:58 Implement an mcp2210 set spi transfer settings function.
Con Kolivas 6f9b5767 2014-01-04T09:35:10 Implement an mcp2210 spi cancel function.
Con Kolivas 17680a19 2014-01-04T09:30:33 Return only binary values for mcp2210 GPIO values.
Con Kolivas 1a9c558a 2014-01-03T17:31:54 Add helper functions for getting and setting mcp2210 gpio pin designations.
Con Kolivas d66ebfee 2014-01-03T16:46:07 Use correct endpoint order for nanofury devices and read with a short timeout on return loop from send_recv.
Con Kolivas 9e10d915 2014-01-03T15:50:32 Add mcp2210 helper functions for getting and setting one GPIO pin val and direction.
Con Kolivas d439fc75 2014-01-03T15:17:26 Create a generic gpio pin struct and add helpers for mcp get pin val and dirs.
Con Kolivas b359fa54 2014-01-03T15:00:06 Check the receive msg of a send/receive cycle on mcp2210 matches the send message.
Con Kolivas 5015e258 2014-01-03T12:00:23 Add a set of usb commands to the usbutils defines for mcp2210 comms, and use the same command name for send and receive.
Con Kolivas efd179fd 2014-01-03T11:42:44 Create a generic mcp2210 send_rcv function.
Con Kolivas 94a157ff 2014-01-03T10:03:13 Add basic SPI comms defines for mcp2210 and build rules for bitfury.
Con Kolivas 98fddb98 2014-01-03T09:32:42 nil