Public Member Functions | Public Attributes
sr_ronex_spi_dw1000.DW1000SpiInterface Class Reference

List of all members.

Public Member Functions

def __init__
def hexify_list
def read_register
def write_register

Public Attributes

 spi_srvs_

Detailed Description

Definition at line 28 of file sr_ronex_spi_dw1000.py.


Constructor & Destructor Documentation

Definition at line 32 of file sr_ronex_spi_dw1000.py.


Member Function Documentation

Definition at line 97 of file sr_ronex_spi_dw1000.py.

def sr_ronex_spi_dw1000.DW1000SpiInterface.read_register (   self,
  spi_out_index,
  address,
  data_packet 
)
Reads from the DW1000 register.

@spi_out_index: which spi are you using (0 to 3)
@address: trying to read from which address
@data_packet: the packet that will be sent

@return values read from SPI, None if failed

Definition at line 40 of file sr_ronex_spi_dw1000.py.

def sr_ronex_spi_dw1000.DW1000SpiInterface.write_register (   self,
  spi_out_index,
  address,
  data_packet 
)
Writes to the DW1000 register.

@spi_out_index: which spi are you using (0 to 3)
@address: trying to write to which address
@data_packet: the packet of data you want to write

@return True if success, False otherwise

Definition at line 71 of file sr_ronex_spi_dw1000.py.


Member Data Documentation

Definition at line 33 of file sr_ronex_spi_dw1000.py.


The documentation for this class was generated from the following file:


sr_ronex_examples
Author(s): Ugo Cupcic, Toni Oliver, Mark Pitchless, Yi Li
autogenerated on Thu Jun 6 2019 21:22:11