# modules/ainser/ainser.c File Reference

`#include <mios32.h>`
`#include "ainser.h"`

## 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))