# mios32/common/mios32_enc.c File Reference

`#include <mios32.h>`

## Data Structures
union | enc_state_t
## Functions
s32 | MIOS32_ENC_Init (u32 mode)
s32 | MIOS32_ENC_ConfigSet (u32 encoder, mios32_enc_config_t config)
mios32_enc_config_t | MIOS32_ENC_ConfigGet (u32 encoder)
s32 | MIOS32_ENC_StateSet (u32 encoder, u8 new_state)
s32 | MIOS32_ENC_StateGet (u32 encoder)
s32 | MIOS32_ENC_UpdateStates (void)
s32 | MIOS32_ENC_Handler (void *_callback)
## Variables
mios32_enc_config_t | enc_config [MIOS32_ENC_NUM_MAX]
enc_state_t | enc_state [MIOS32_ENC_NUM_MAX]