Freedom KL25Z: Update the CC3000 support to use the current CC300 interfaces. From Alan Carvalho de Assis

This commit is contained in:
Gregory Nutt
2014-12-18 13:52:01 -06:00
parent ddad16a7b7
commit a1a2e53c3e
4 changed files with 311 additions and 77 deletions
@@ -127,15 +127,15 @@ struct cc3000_config_s
* interrupts should be configured on falling edges to detect the Ready Condition
* At T2: The normal master SPI write sequence is SPI_CS low, followed by SPI_IRQ low
* CC3000 to host, indicating that the CC3000 core module is ready to accept data.
* T2 duration is approximately 7 ms.
*
* irq_attach - Attach the CC3000 interrupt handler to the GPIO interrupt
* irq_enable - Enable or disable the GPIO interrupt
* clear_irq - Acknowledge/clear any pending GPIO interrupt
* power_enable - Enable or disable Module enable.
* chip_select - The Chip Select
* busy - Return the state of the interrupt GPIO input
* T2 duration is approximately 7 ms.
*
* irq_attach - Attach the CC3000 interrupt handler to the GPIO interrupt
* irq_enable - Enable or disable the GPIO interrupt
* irq_clear - Acknowledge/clear any pending GPIO interrupt
* power_enable - Enable or disable Module enable.
* chip_chip_select - The Chip Select
* irq_read - Return the state of the interrupt GPIO input
* probe - Debug support
*/
int (*irq_attach)(FAR struct cc3000_config_s *state, xcpt_t isr);