8 #ifndef K_FIRESYNC_GPIO_BANK_H
9 #define K_FIRESYNC_GPIO_BANK_H
142 #include <kFireSync/Client/kGpioBank.x.h>
kGpioPin kGpioBank_PinType(kGpioBank bank, kSize pinIndex)
Gets the GPIO pin type specified by an index.
kBool kGpioBank_EventsEnabled(kGpioBank bank, kSize pinIndex)
Reports whether input events is enabled for this GPIO pin.
kStatus kGpioBank_GetState64u(kGpioBank bank, k64u *state)
Gets the output state for all GPIO pins in this bank.
kSize kGpioBank_PinCount(kGpioBank bank)
Gets the actual number of GPIO pins in this bank.
Represents GPIO pin types.
kStatus kGpioBank_SetState(kGpioBank bank, kSize pinIndex, kBool enabled)
Sets the output state for one GPIO pin in this bank, specified by an index.
kStatus kGpioBank_GetState(kGpioBank bank, kSize pinIndex, kBool *enabled)
Gets the output state for one GPIO pin in this bank, specified by an index.
kStatus kGpioBank_SetState64u(kGpioBank bank, k64u mask, k64u state)
Sets the output state for one or more GPIO pins in this bank.
Essential declarations related to FireSync nodes.
Represents a local node's GPIO bank.
kStatus kGpioBank_EnableEvents(kGpioBank bank, kSize pinIndex, kBool enabled)
Enables or disables input events for this GPIO pin.
kSize kGpioBank_Index(kGpioBank bank)
Gets the index of the GPIO bank module.
kGpioBankType kGpioBank_Type(kGpioBank bank)
Gets the type of the GPIO bank module.
Represents GPIO bank types.
kStatus kGpioBank_SetPinType(kGpioBank bank, kSize pinIndex, kGpioPin pinType)
Sets the GPIO pin type, specified by an index.