spi com if almost finished

This commit is contained in:
2021-02-23 11:31:50 +01:00
parent a2e6634208
commit 3550fb6ca7
12 changed files with 649 additions and 11 deletions

View File

@ -40,8 +40,7 @@ private:
* @param gpioId The GPIO ID of the GPIO to drive.
* @param logiclevel The logic level to set. O or 1.
*/
ReturnValue_t driveGpio(gpioId_t gpioId,
unsigned int logiclevel);
ReturnValue_t driveGpio(gpioId_t gpioId, unsigned int logiclevel);
/**
* @brief This function checks if GPIOs are already registered and whether

View File

@ -11,6 +11,8 @@ enum Direction {
IN = 0,
OUT = 1
};
static constexpr gpioId_t NO_GPIO = -1;
}
/**