]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lib.git/blobdiff - rpp/include/sys/ti_drv_adc.h
Trigger context switch after ADC interrupts
[pes-rpp/rpp-lib.git] / rpp / include / sys / ti_drv_adc.h
index da7c3c37483192e55459e534230fef67ccb96c57..6f20c39b05778444df5f6242284cae4c65f9ffb3 100644 (file)
@@ -143,9 +143,6 @@ enum adc2HwTriggerSource
 
 };
 
-/* USER CODE BEGIN (1) */
-/* USER CODE END */
-
 /** @struct adcData
 *   @brief ADC Conversion data structure
 *
@@ -297,13 +294,6 @@ typedef volatile struct adcBase
 */
 #define adcPARRAM2 (*(unsigned int *)(0xFF3A0000U + 0x1000))
 
-/* USER CODE BEGIN (2) */
-
-
-
-/* USER CODE END */
-
-
 /* ADC Interface Functions */
 
 void adcInit(void);
@@ -327,13 +317,10 @@ uint32_t adcMidPointCalibration(adcBASE_t *adc);
 *              - adcGROUP0: ADC event group
 *              - adcGROUP1: ADC group 1
 *              - adcGROUP2: ADC group 2
+*   @param[out] Flag signalling that context switch is required
 *
 *   @note This function has to be provide by the user.
 */
-void adcNotification(adcBASE_t *adc, uint32_t group);
-
-/* USER CODE BEGIN (3) */
-/* USER CODE END */
-
+void adcNotification(adcBASE_t *adc, uint32_t group, portBASE_TYPE* xHigherPriorityTaskWoken);
 
 #endif