# include/mios32/mios32_enc.h File Reference

## Data Structures
union | mios32_enc_config_t
## Defines
#define | MIOS32_ENC_NUM_MAX 64
## Enumerations
enum | mios32_enc_type_t { DISABLED = 0x00, NON_DETENTED = 0xff, DETENTED1 = 0xaa, DETENTED2 = 0x22, DETENTED3 = 0x88, DETENTED4 = 0xa5, DETENTED5 = 0x5a }
enum | mios32_enc_speed_t { SLOW, NORMAL, FAST }
## 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)

## Define Documentation

#define MIOS32_ENC_NUM_MAX 64

## Enumeration Type Documentation

enum mios32_enc_speed_t

Enumerator:

  SLOW |
  NORMAL |
  FAST |

enum mios32_enc_type_t

Enumerator:

  DISABLED |
  NON_DETENTED |
  DETENTED1 |
  DETENTED2 |
  DETENTED3 |
  DETENTED4 |
  DETENTED5 |