InPlay API
|
HAL QDEC. More...
Enumerations | |
enum | qdec_id_t { QDEC0_ID = 0, QDEC1_ID, QDEC2_ID, QDEC_MAX_ID } |
Mouse device ID. More... | |
Functions | |
int | hal_qdec_open (qdec_init_t *init) |
Open qdec device. More... | |
int | hal_qdec_cfg (int id, qdec_cfg_t *cfg) |
Config qdec. More... | |
int | hal_qdec_idx_cfg (qdec_idx_cfg_t *cfg) |
Config qdec index signal. More... | |
int | hal_qdec_enable (int id) |
Enable qdec. More... | |
int | hal_qdec_disable (int id) |
Disable qdec. More... | |
void | hal_qdec_close (void) |
Close qdec. More... | |
HAL QDEC.
enum qdec_id_t |
int hal_qdec_cfg | ( | int | id, |
qdec_cfg_t * | cfg | ||
) |
Config qdec.
[in] | id | qdec id |
[in] | cfg | config paramter, see qdec_cfg_t |
void hal_qdec_close | ( | void | ) |
Close qdec.
int hal_qdec_disable | ( | int | id | ) |
Disable qdec.
[in] | id | qdec id |
int hal_qdec_enable | ( | int | id | ) |
Enable qdec.
[in] | id | qdec id |
int hal_qdec_idx_cfg | ( | qdec_idx_cfg_t * | cfg | ) |
Config qdec index signal.
[in] | cfg | index config paramter, see qdec_idx_cfg_t |
int hal_qdec_open | ( | qdec_init_t * | init | ) |
Open qdec device.
[in] | init | init paramter, see qdec_init_t |