Added test for ADC_Disable()
This commit is contained in:
		
							parent
							
								
									969b852cb3
								
							
						
					
					
						commit
						352ee9e6a8
					
				
					 1 changed files with 4 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -133,12 +133,11 @@ TEST(test_ADC, ADC_EnablePasses)
 | 
			
		|||
 | 
			
		||||
TEST(test_ADC, ADC_DisablePasses)
 | 
			
		||||
{
 | 
			
		||||
    /*
 | 
			
		||||
    mock().expectOneCall("RegEdit_ClearBit")
 | 
			
		||||
        .withPointerParameter("reg", (void *) &ADC0.CTRLA)
 | 
			
		||||
        .withUnsignedIntParameter("bit_num", 0);
 | 
			
		||||
    */
 | 
			
		||||
    //ADC_Disable();
 | 
			
		||||
        .withPointerParameter("reg", (void *) &ADCSRA)
 | 
			
		||||
        .withUnsignedIntParameter("bit_num", ADEN);
 | 
			
		||||
 | 
			
		||||
    ADC_Disable();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue