Skip to content

Commit

Permalink
tests/psoc6: Added exp files for ADC related tests.
Browse files Browse the repository at this point in the history
Signed-off-by: NikhitaR-IFX <Nikhita.Rajasekhar@infineon.com>
  • Loading branch information
NikhitaR-IFX committed Jul 11, 2023
1 parent 9ac12c2 commit ab88a8c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/psoc6/adc.py.exp
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<ADC Pin=80, Channel=0, sampling_time_ns=1000>
<ADC Pin=80, Channel=0, sampling_time_ns=1200>
False
True
Invalid ADC Pin
4 changes: 4 additions & 0 deletions tests/psoc6/adcblock.py.exp
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
TypeError: Specified ADC id not supported. Currently only block 0 is configured!
TypeError: Invalid bits. Current ADC configuration supports only 12 bits resolution!
TypeError: Wrong pin specified for the mentioned channel
False

0 comments on commit ab88a8c

Please sign in to comment.