task_accelerometer.c
/******************************************************************************
 * Used to start an ADC14 Conversion
 ******************************************************************************/
Used to start an ADC14 Conversion
Used to start an ADC14 Conversion
void Task_Accelerometer_Timer(void *pvParameters)
 {
     while(1)
     {
         ADC14->CTL0 |= ADC14_CTL0_SC | ADC14_CTL0_ENC;
         vTaskDelay(pdMS_TO_TICKS(5));
     }
 }
void Task_Accelerometer_Timer ( void * pvParameters ) { while ( 1 ) { ADC14 -> CTL0 |= ADC14_CTL0_SC | ADC14_CTL0_ENC ; vTaskDelay ( pdMS_TO_TICKS ( 5 ) ) ; } }
Used to start an ADC14 Conversion
Used to start an ADC14 Conversion
// Start the ADC conversion // Delay 5ms