Mistake on this page?
Report an issue in GitHub or email us
Public Member Functions | Static Public Member Functions
CyH4TransportDriver Class Reference

Implementation of the H4 driver over Cypress based chips. More...

#include <CyH4TransportDriver.h>

Inheritance diagram for CyH4TransportDriver:
CordioHCITransportDriver

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...
 

Detailed Description

Implementation of the H4 driver over Cypress based chips.

Definition at line 38 of file CyH4TransportDriver.h.

Constructor & Destructor Documentation

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 ~CyH4TransportDriver ( )
virtual

Destructor.

Member Function Documentation

virtual void initialize ( )
virtual
static void on_data_received ( uint8_t *  data,
uint16_t  len 
)
staticinherited

The driver shall call this function whenever data bytes are received.

Parameters
dataPointer to the data received.
lenNumber of bytes received.
virtual void terminate ( )
virtual
virtual uint16_t write ( uint8_t  type,
uint16_t  len,
uint8_t *  pData 
)
virtual
Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.