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

Enumerator:
SLOW 
NORMAL 
FAST 
Enumerator:
DISABLED 
NON_DETENTED 
DETENTED1 
DETENTED2 
DETENTED3 
DETENTED4 
DETENTED5 

Generated on 22 Jan 2016 for MIOS32 by  doxygen 1.6.1