Public Member Functions | |
| def | __init__ |
| def | hexify_list |
| def | read_register |
| def | write_register |
Public Attributes | |
| spi_srvs_ | |
Definition at line 25 of file sr_ronex_spi_dw1000.py.
| def sr_ronex_spi_dw1000.DW1000SpiInterface.__init__ | ( | self | ) |
Definition at line 29 of file sr_ronex_spi_dw1000.py.
| def sr_ronex_spi_dw1000.DW1000SpiInterface.hexify_list | ( | self, | |
| l | |||
| ) |
Definition at line 94 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 37 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 68 of file sr_ronex_spi_dw1000.py.
Definition at line 30 of file sr_ronex_spi_dw1000.py.