Functions | |
int | qdec_configure_interrupts (volatile avr32_qdec_t *qdec, const qdec_interrupt_t *bitfield) |
Enables various QDEC interrupts. More... | |
int | qdec_get_interrupt_settings (volatile avr32_qdec_t *qdec) |
Get the QDEC current interrupt settings. More... | |
int | qdec_init_quadrature_decoder_mode (volatile avr32_qdec_t *qdec, const qdec_quadrature_decoder_opt_t *opt) |
Sets options for QDEC quadrature decoder initialization. More... | |
int | qdec_init_timer_mode (volatile avr32_qdec_t *qdec, const qdec_timer_opt_t *opt) |
Sets options for QDEC Timer mode initialization. More... | |
unsigned short int | qdec_read_pc (volatile avr32_qdec_t *qdec) |
Read value of the channel's QDEC Position Current Counter register. More... | |
unsigned short int | qdec_read_pc_cap (volatile avr32_qdec_t *qdec) |
Read value of the channel's QDEC Position Capture Counter register. More... | |
unsigned short int | qdec_read_rc (volatile avr32_qdec_t *qdec) |
Read value of the channel's QDEC Revolution Current Counter register. More... | |
unsigned short int | qdec_read_rc_cap (volatile avr32_qdec_t *qdec) |
Read value of the channel's QDEC Revolution Capture register. More... | |
int | qdec_software_trigger (volatile avr32_qdec_t *qdec) |
Software Trigger Condition to start QDEC service. More... | |
int | qdec_stop (volatile avr32_qdec_t *qdec) |
Stops a QDEC. More... | |
unsigned short int | qdec_write_pc_cmp (volatile avr32_qdec_t *qdec, unsigned short int value) |
Writes a value to the channel's QDEC Position Counter Compare register. More... | |
unsigned short int | qdec_write_pc_cnt (volatile avr32_qdec_t *qdec, unsigned short int value) |
Write value of the channel's QDEC Position Current Counter register. More... | |
unsigned short int | qdec_write_pc_top (volatile avr32_qdec_t *qdec, unsigned short int value) |
Writes a value to the channel's QDEC Position Counter Top register. More... | |
unsigned short int | qdec_write_rc_cmp (volatile avr32_qdec_t *qdec, unsigned short int value) |
Writes a value to the channel's QDEC Revolution Counter Compare register. More... | |
unsigned short int | qdec_write_rc_cnt (volatile avr32_qdec_t *qdec, unsigned short int value) |
Write value of the channel's QDEC Revolution Current Counter register. More... | |
unsigned short int | qdec_write_rc_top (volatile avr32_qdec_t *qdec, unsigned short int value) |
Writes a value to the channel's QDEC Revolution Counter Top register. More... | |