Public Member Functions | |
def | __init__ |
def | hexify_list |
def | read_register |
def | write_register |
Public Attributes | |
spi_srvs_ |
Definition at line 28 of file sr_ronex_spi_dw1000.py.
def sr_ronex_spi_dw1000.DW1000SpiInterface.__init__ | ( | self | ) |
Definition at line 32 of file sr_ronex_spi_dw1000.py.
def sr_ronex_spi_dw1000.DW1000SpiInterface.hexify_list | ( | self, | |
l | |||
) |
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.
Definition at line 33 of file sr_ronex_spi_dw1000.py.