# modules/ainser/ainser.h File Reference

## Defines
#define | AINSER_NUM_MODULES 1
#define | AINSER_NUM_PINS 64
#define | AINSER_SPI 2
#define | AINSER_SPI_RC_PIN_MODULE1 0
#define | AINSER_SPI_RC_PIN_MODULE2 1
#define | AINSER_SPI_OUTPUTS_OD 0
## Functions
s32 | AINSER_Init (u32 mode)
s32 | AINSER_NumModulesGet (void)
s32 | AINSER_NumModulesSet (u8 num_modules)
s32 | AINSER_EnabledGet (u8 module)
s32 | AINSER_EnabledSet (u8 module, u8 enabled)
s32 | AINSER_MuxedGet (u8 module)
s32 | AINSER_MuxedSet (u8 module, u8 muxed)
s32 | AINSER_NumPinsGet (u8 module)
s32 | AINSER_NumPinsSet (u8 module, u8 num_pins)
s32 | AINSER_DeadbandGet (u8 module)
s32 | AINSER_DeadbandSet (u8 module, u8 deadband)
s32 | AINSER_PinGet (u8 module, u8 pin)
s32 | AINSER_PreviousPinValueGet (void)
s32 | AINSER_Handler (void(*_callback)(u32 module, u32 pin, u32 value))

## Define Documentation

#define AINSER_NUM_MODULES 1

#define AINSER_NUM_PINS 64

#define AINSER_SPI 2

#define AINSER_SPI_OUTPUTS_OD 0

#define AINSER_SPI_RC_PIN_MODULE1 0

#define AINSER_SPI_RC_PIN_MODULE2 1