def configureGPIO(self): syslog.syslog(LOG_STSW_PRI, "> HVControlBoard:configureGPIO") PBBDevices.selectSPISlave(GPIO_ID, SPI_MODE_0) PBBDevices.configureGPIO(SPI_MODE_0) PBBDevices.deSelectSPISlaves(SPI_MODE_0) PBBDevices.selectSPISlave(GPIO_ID, SPI_MODE_0) PBBDevices.readGPIOConfiguration(SPI_MODE_0) PBBDevices.deSelectSPISlaves(SPI_MODE_0) syslog.syslog(LOG_STSW_PRI, "< HVControlBoard:configureGPIO")
def configureGPIO(self): syslog.syslog(LOG_STSW_PRI,"> HVControlBoard:configureGPIO") PBBDevices.selectSPISlave(GPIO_ID,SPI_MODE_0) PBBDevices.configureGPIO(SPI_MODE_0) PBBDevices.deSelectSPISlaves(SPI_MODE_0) PBBDevices.selectSPISlave(GPIO_ID,SPI_MODE_0) PBBDevices.readGPIOConfiguration(SPI_MODE_0) PBBDevices.deSelectSPISlaves(SPI_MODE_0) syslog.syslog(LOG_STSW_PRI,"< HVControlBoard:configureGPIO")