git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8204 35acf78f-673a-0410-8e92-d51de3d6d3f4

master
gdisirio 2015-08-10 16:41:25 +00:00
parent 3ef88384a3
commit 7264719108
1 changed files with 8 additions and 1 deletions

View File

@ -54,7 +54,14 @@
* @name Triggers selection
* @{
*/
#define ADC_CR2_EXTSEL_SRC(n) ((n) << 24) /**< @brief Trigger source. */
#define ADC_CR2_EXTEN_MASK (3U << 28U)
#define ADC_CR2_EXTEN_DISABLED (0U << 28U)
#define ADC_CR2_EXTEN_RISING (1U << 28U)
#define ADC_CR2_EXTEN_FALLING (2U << 28U)
#define ADC_CR2_EXTEN_BOTH (3U << 28U)
#define ADC_CR2_EXTSEL_MASK (15U << 24U)
#define ADC_CR2_EXTSEL_SRC(n) ((n) << 24U)
/** @} */
/**