git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6763 35acf78f-673a-0410-8e92-d51de3d6d3f4
parent
348784fdf2
commit
c3f7c51a7d
|
@ -79,7 +79,6 @@ DACDriver DACD3;
|
||||||
/* Driver local functions. */
|
/* Driver local functions. */
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Shared end/half-of-tx service routine.
|
* @brief Shared end/half-of-tx service routine.
|
||||||
*
|
*
|
||||||
|
@ -87,6 +86,7 @@ DACDriver DACD3;
|
||||||
* @param[in] flags pre-shifted content of the ISR register
|
* @param[in] flags pre-shifted content of the ISR register
|
||||||
*/
|
*/
|
||||||
static void dac_lld_serve_tx_interrupt(DACDriver *dacp, uint32_t flags) {
|
static void dac_lld_serve_tx_interrupt(DACDriver *dacp, uint32_t flags) {
|
||||||
|
|
||||||
#if defined(STM32_DAC_DMA_ERROR_HOOK)
|
#if defined(STM32_DAC_DMA_ERROR_HOOK)
|
||||||
(void)dacp;
|
(void)dacp;
|
||||||
if ((flags & (STM32_DMA_ISR_TEIF | STM32_DMA_ISR_DMEIF)) != 0) {
|
if ((flags & (STM32_DMA_ISR_TEIF | STM32_DMA_ISR_DMEIF)) != 0) {
|
||||||
|
|
|
@ -265,7 +265,7 @@ typedef enum {
|
||||||
DAC_DHRM_12BIT_RIGHT = 0,
|
DAC_DHRM_12BIT_RIGHT = 0,
|
||||||
DAC_DHRM_12BIT_LEFT = 1,
|
DAC_DHRM_12BIT_LEFT = 1,
|
||||||
DAC_DHRM_8BIT_RIGHT = 2,
|
DAC_DHRM_8BIT_RIGHT = 2,
|
||||||
#if defined(STM32_HAS_DAC_CHN2) && STM32_HAS_DAC_CHN2 && !defined(__DOXYGEN__)
|
#if STM32_HAS_DAC_CHN2 && !defined(__DOXYGEN__)
|
||||||
DAC_DHRM_12BIT_RIGHT_DUAL = 3,
|
DAC_DHRM_12BIT_RIGHT_DUAL = 3,
|
||||||
DAC_DHRM_12BIT_LEFT_DUAL = 4,
|
DAC_DHRM_12BIT_LEFT_DUAL = 4,
|
||||||
DAC_DHRM_8BIT_RIGHT_DUAL = 5
|
DAC_DHRM_8BIT_RIGHT_DUAL = 5
|
||||||
|
@ -279,7 +279,7 @@ typedef struct {
|
||||||
/**
|
/**
|
||||||
* @brief Number of DAC channels.
|
* @brief Number of DAC channels.
|
||||||
*/
|
*/
|
||||||
uint16_t num_channels;
|
uint32_t num_channels;
|
||||||
/**
|
/**
|
||||||
* @brief Operation complete callback or @p NULL.
|
* @brief Operation complete callback or @p NULL.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue