Updated date

This commit is contained in:
Jake Goodwin 2025-02-17 18:33:32 -08:00
parent d455f80759
commit 28a5c50b23
1 changed files with 11 additions and 3 deletions

View File

@ -1,6 +1,6 @@
/* /*
* Author: Jake G * Author: Jake G
* Date: 2024 * Date: 2025
* filename: test_ADC.c * filename: test_ADC.c
* description: module_purpose * description: module_purpose
*/ */
@ -73,8 +73,16 @@ TEST(test_ADC, ADC_SetupSetsRegisters)
ADC_Setup(); ADC_Setup();
} }
TEST(test_ADC, ADC_InitPortBADC3UsesCorrectRegisters) TEST(test_ADC, ADC_InitPortbADC3UsesCorrectRegisters)
{ {
//PB3/ADC3
//Check it disables the pin's digital circuitry
//Check that the ADC pin is selected in ADMUX
//
/* /*
//Check for setting the direction to input. //Check for setting the direction to input.
@ -94,7 +102,7 @@ TEST(test_ADC, ADC_InitPortBADC3UsesCorrectRegisters)
.withUnsignedIntParameter("bit_num", PORT_ISC_INPUT_DISABLE_gc); .withUnsignedIntParameter("bit_num", PORT_ISC_INPUT_DISABLE_gc);
*/ */
//ADC_Init(7); ADC_Init(7);
} }
TEST(test_ADC, ADC_InitPortAPin0UsesCorrectRegisters) TEST(test_ADC, ADC_InitPortAPin0UsesCorrectRegisters)