Implementation of the H4 driver over Cypress based chips. More...
#include <CyH4TransportDriver.h>
Public Member Functions | |
CyH4TransportDriver (PinName tx, PinName rx, PinName cts, PinName rts, PinName bt_power_name, int baud, PinName bt_host_wake_name, PinName bt_device_wake_name, uint8_t host_wake_irq=0, uint8_t dev_wake_irq=0) | |
Initialize the transport driver. More... | |
virtual | ~CyH4TransportDriver () |
Destructor. More... | |
virtual void | initialize () |
virtual void | terminate () |
virtual uint16_t | write (uint8_t type, uint16_t len, uint8_t *pData) |
Static Public Member Functions | |
static void | on_data_received (uint8_t *data, uint16_t len) |
The driver shall call this function whenever data bytes are received. More... | |
Implementation of the H4 driver over Cypress based chips.
Definition at line 38 of file CyH4TransportDriver.h.
CyH4TransportDriver | ( | PinName | tx, |
PinName | rx, | ||
PinName | cts, | ||
PinName | rts, | ||
PinName | bt_power_name, | ||
int | baud, | ||
PinName | bt_host_wake_name, | ||
PinName | bt_device_wake_name, | ||
uint8_t | host_wake_irq = 0 , |
||
uint8_t | dev_wake_irq = 0 |
||
) |
Initialize the transport driver.
|
virtual |
Destructor.
|
virtual |
Implements CordioHCITransportDriver.
|
staticinherited |
The driver shall call this function whenever data bytes are received.
data | Pointer to the data received. |
len | Number of bytes received. |
|
virtual |
Implements CordioHCITransportDriver.
|
virtual |
Implements CordioHCITransportDriver.