mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 23:03:27 +08:00
Qencoder implementations for imxrt, stm32f7, stm32h7, stm32l4 and tivia don't support QEIOC_SETPOSMAX
This commit is contained in:
committed by
Alan Carvalho de Assis
parent
51b24c4bad
commit
2b3106fb47
@@ -336,11 +336,12 @@ static int imxrt_ioctl(FAR struct qe_lowerhalf_s *lower, int cmd,
|
|||||||
|
|
||||||
static const struct qe_ops_s g_qecallbacks =
|
static const struct qe_ops_s g_qecallbacks =
|
||||||
{
|
{
|
||||||
.setup = imxrt_setup,
|
.setup = imxrt_setup,
|
||||||
.shutdown = imxrt_shutdown,
|
.shutdown = imxrt_shutdown,
|
||||||
.position = imxrt_position,
|
.position = imxrt_position,
|
||||||
.reset = imxrt_reset,
|
.setposmax = NULL, /* not supported yet */
|
||||||
.ioctl = imxrt_ioctl,
|
.reset = imxrt_reset,
|
||||||
|
.ioctl = imxrt_ioctl,
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Per-timer state structures */
|
/* Per-timer state structures */
|
||||||
|
|||||||
@@ -263,11 +263,12 @@ static int stm32_ioctl(FAR struct qe_lowerhalf_s *lower, int cmd,
|
|||||||
|
|
||||||
static const struct qe_ops_s g_qecallbacks =
|
static const struct qe_ops_s g_qecallbacks =
|
||||||
{
|
{
|
||||||
.setup = stm32_setup,
|
.setup = stm32_setup,
|
||||||
.shutdown = stm32_shutdown,
|
.shutdown = stm32_shutdown,
|
||||||
.position = stm32_position,
|
.position = stm32_position,
|
||||||
.reset = stm32_reset,
|
.setposmax = NULL, /* not supported yet */
|
||||||
.ioctl = stm32_ioctl,
|
.reset = stm32_reset,
|
||||||
|
.ioctl = stm32_ioctl,
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Per-timer state structures */
|
/* Per-timer state structures */
|
||||||
|
|||||||
@@ -263,11 +263,12 @@ static int stm32_ioctl(FAR struct qe_lowerhalf_s *lower, int cmd,
|
|||||||
|
|
||||||
static const struct qe_ops_s g_qecallbacks =
|
static const struct qe_ops_s g_qecallbacks =
|
||||||
{
|
{
|
||||||
.setup = stm32_setup,
|
.setup = stm32_setup,
|
||||||
.shutdown = stm32_shutdown,
|
.shutdown = stm32_shutdown,
|
||||||
.position = stm32_position,
|
.position = stm32_position,
|
||||||
.reset = stm32_reset,
|
.setposmax = NULL, /* not supported yet */
|
||||||
.ioctl = stm32_ioctl,
|
.reset = stm32_reset,
|
||||||
|
.ioctl = stm32_ioctl,
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Per-timer state structures */
|
/* Per-timer state structures */
|
||||||
|
|||||||
@@ -258,11 +258,12 @@ static int stm32l4_ioctl(FAR struct qe_lowerhalf_s *lower,
|
|||||||
|
|
||||||
static const struct qe_ops_s g_qecallbacks =
|
static const struct qe_ops_s g_qecallbacks =
|
||||||
{
|
{
|
||||||
.setup = stm32l4_setup,
|
.setup = stm32l4_setup,
|
||||||
.shutdown = stm32l4_shutdown,
|
.shutdown = stm32l4_shutdown,
|
||||||
.position = stm32l4_position,
|
.position = stm32l4_position,
|
||||||
.reset = stm32l4_reset,
|
.setposmax = NULL, /* not supported yet */
|
||||||
.ioctl = stm32l4_ioctl,
|
.reset = stm32l4_reset,
|
||||||
|
.ioctl = stm32l4_ioctl,
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Per-timer state structures */
|
/* Per-timer state structures */
|
||||||
|
|||||||
@@ -107,11 +107,12 @@ static int tiva_qe_resetatindex(FAR struct tiva_qe_s *qe);
|
|||||||
|
|
||||||
static const struct qe_ops_s g_qe_ops =
|
static const struct qe_ops_s g_qe_ops =
|
||||||
{
|
{
|
||||||
.setup = tiva_qe_setup,
|
.setup = tiva_qe_setup,
|
||||||
.shutdown = tiva_qe_shutdown,
|
.shutdown = tiva_qe_shutdown,
|
||||||
.position = tiva_qe_position,
|
.position = tiva_qe_position,
|
||||||
.reset = tiva_qe_reset,
|
.setposmax = NULL, /* not supported yet */
|
||||||
.ioctl = tiva_qe_ioctl,
|
.reset = tiva_qe_reset,
|
||||||
|
.ioctl = tiva_qe_ioctl,
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef CONFIG_TIVA_QEI0
|
#ifdef CONFIG_TIVA_QEI0
|
||||||
|
|||||||
Reference in New Issue
Block a user