From ed8e1518137f19b597d9232c3352d0f2cf9ed4be Mon Sep 17 00:00:00 2001 From: Akil M Hylton Date: Sat, 6 Jun 2020 14:43:41 -0700 Subject: [PATCH 01/22] Replace travis ci with github action (#13) * Replace travis ci with github action * Fixed boards to board * Fixed indentation error * Update build.yml --- .github/workflows/build.yml | 21 +++++++++++++++++++++ .travis.yml | 8 -------- 2 files changed, 21 insertions(+), 8 deletions(-) create mode 100644 .github/workflows/build.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..ffac913 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,21 @@ +on: + # Trigger the workflow on push or pull request, + # but only for the master branch + push: + branches: + - master + pull_request: + branches: + - master + - devel + +jobs: + build: + name: Checkout master + runs-on: ubuntu-18.04 + steps: + - uses: actions/checkout@v2 + - name: Install dependencies + run: cd board && sh install.sh + - name: Build PanFLUte firmware + run: cd board && make diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 31dfd20..0000000 --- a/.travis.yml +++ /dev/null @@ -1,8 +0,0 @@ -language: c -services: docker -before_install: -- sudo apt-get update -qq -- docker build -t panflute:1.0 . -install: sudo apt-get install -qq gcc-avr binutils-avr avr-libc -before_script: cd board -script: make From a9ea091974588ed64ba98bc234dd5a607517286e Mon Sep 17 00:00:00 2001 From: akilhylton Date: Sat, 6 Jun 2020 18:33:35 -0400 Subject: [PATCH 02/22] Retrive pressure sensor data from MPX5100 --- board/adc/adc.c | 7 ++++--- board/driver/adc.h | 3 +-- board/main.c | 10 ++++++---- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/board/adc/adc.c b/board/adc/adc.c index 54a9da9..7bf7c08 100644 --- a/board/adc/adc.c +++ b/board/adc/adc.c @@ -1,5 +1,6 @@ #include "../driver/adc.h" + void adcInit(void) { /* Enable ADC */ ADCSRA |= (1 << ADEN); @@ -7,11 +8,11 @@ void adcInit(void) { ADCSRB |= (1 << ADLAR); } -/* + uint8_t adcStart(void) { ADCSRA |= (1 << ADSC); // Start ADC conversion loop_until_bit_is_clear(ADCSRA, ADSC); - rawPresureData = ADCH; // Max is 8bit value + uint8_t rawPresureData = ADCH; // Max is 8bit value + return rawPresureData; } -*/ diff --git a/board/driver/adc.h b/board/driver/adc.h index 8458d0d..8774184 100644 --- a/board/driver/adc.h +++ b/board/driver/adc.h @@ -2,5 +2,4 @@ #include void adcInit(void); -//uint8_t adcStart(void); -//uint8_t rawPressureData; +uint8_t adcStart(void); diff --git a/board/main.c b/board/main.c index 0e67f1e..3823f0e 100644 --- a/board/main.c +++ b/board/main.c @@ -1,14 +1,16 @@ #include "driver/usart.h" #include "driver/led.h" +#include "driver/adc.h" static FILE mystdout = FDEV_SETUP_STREAM(print, NULL, _FDEV_SETUP_RW); -int main(void) { +int main(void) { + adcInit(); usartInit(MYUBRR); stdout = &mystdout; - while(1) { - printf("%d\n", 21 + 79); - delay_ms(1000); + while(1) { + printf("Should be sensor data: %d\n", adcStart()); + delay_ms(1000); } return 0; } From 6b59c58fe3e259547bcf7b5d324d1855e0c1cbfa Mon Sep 17 00:00:00 2001 From: akilhylton Date: Mon, 8 Jun 2020 01:57:00 -0400 Subject: [PATCH 03/22] Some code that gives back PSI --- board/Makefile | 2 +- board/adc/adc.c | 18 +++++++++--------- board/driver/adc.h | 2 +- board/driver/mpx5100.h | 2 ++ board/driver/usart.h | 1 - board/main.c | 13 ++++++++----- 6 files changed, 21 insertions(+), 17 deletions(-) diff --git a/board/Makefile b/board/Makefile index 5d23fe3..db8f1e5 100644 --- a/board/Makefile +++ b/board/Makefile @@ -3,7 +3,7 @@ PROGRAMMER=atmelice_isp F_CPU=1000000 CC=avr-gcc OBJCOPY=avr-objcopy -CFLAGS=-Wall -g -Os -mmcu=${MCU} -DF_CPU=${F_CPU} -Wl,-u,vfprintf +CFLAGS=-Wall -g -Os -mmcu=${MCU} -DF_CPU=${F_CPU} -Wl,-u,vfprintf -lprintf_flt -lm TARGET=main SRC=main.c ADC_LIB=adc/adc.c diff --git a/board/adc/adc.c b/board/adc/adc.c index 7bf7c08..dea3df8 100644 --- a/board/adc/adc.c +++ b/board/adc/adc.c @@ -1,18 +1,18 @@ #include "../driver/adc.h" - void adcInit(void) { /* Enable ADC */ - ADCSRA |= (1 << ADEN); + ADCSRA = (1 << ADEN) | (1 << ADSC); /* Left Adjust Results */ - ADCSRB |= (1 << ADLAR); + ADCSRB = (1 << ADLAR); + //printf("ADC has started\n"); } - -uint8_t adcStart(void) { +/* +void getPSI(void) { ADCSRA |= (1 << ADSC); // Start ADC conversion - loop_until_bit_is_clear(ADCSRA, ADSC); - uint8_t rawPresureData = ADCH; // Max is 8bit value - - return rawPresureData; + float rawPresureData = ADCH; // Max is 8bit value + printf("PSI: %.2f", (rawPresureData / 255.0) * 14.5); + _delay_ms(100); } +*/ diff --git a/board/driver/adc.h b/board/driver/adc.h index 8774184..60d0555 100644 --- a/board/driver/adc.h +++ b/board/driver/adc.h @@ -2,4 +2,4 @@ #include void adcInit(void); -uint8_t adcStart(void); +//void getPSI(void); diff --git a/board/driver/mpx5100.h b/board/driver/mpx5100.h index 1d77d7b..017bd68 100644 --- a/board/driver/mpx5100.h +++ b/board/driver/mpx5100.h @@ -1 +1,3 @@ +#include "../driver/adc.h" // #define SIGNAL_OFFSET // This value corresponds to an air flow of 0 + diff --git a/board/driver/usart.h b/board/driver/usart.h index a6ed3ba..6a7b304 100644 --- a/board/driver/usart.h +++ b/board/driver/usart.h @@ -8,4 +8,3 @@ void usartInit(unsigned int ubrr); void usartTransmit(unsigned char data); unsigned char usartReceive(void); int print(char c, FILE *stream); - diff --git a/board/main.c b/board/main.c index 3823f0e..387d568 100644 --- a/board/main.c +++ b/board/main.c @@ -1,16 +1,19 @@ +#include #include "driver/usart.h" -#include "driver/led.h" #include "driver/adc.h" static FILE mystdout = FDEV_SETUP_STREAM(print, NULL, _FDEV_SETUP_RW); -int main(void) { +int main(void) { adcInit(); usartInit(MYUBRR); stdout = &mystdout; - while(1) { - printf("Should be sensor data: %d\n", adcStart()); - delay_ms(1000); + while(1) { + while(ADCSRA & (1 << ADSC)); + ADCSRA |= (1 << ADSC); // Start ADC conversion + // TODO: Must subtract ADCH from offset. + printf("PSI: %.2f\n", (ADCH / 255.0) * 14.5); + _delay_ms(150); } return 0; } From 2ade9b7fceceb86fd1fcfe86177f6b369135c78e Mon Sep 17 00:00:00 2001 From: Akil M Hylton Date: Mon, 8 Jun 2020 21:24:24 -0400 Subject: [PATCH 04/22] Update build.yml --- .github/workflows/build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ffac913..9157c72 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,3 +1,5 @@ +name: panflute tests + on: # Trigger the workflow on push or pull request, # but only for the master branch From b4fc6fd1c59c6124dbb1c7cc156b1d2dfa90a838 Mon Sep 17 00:00:00 2001 From: Akil M Hylton Date: Mon, 8 Jun 2020 21:32:19 -0400 Subject: [PATCH 05/22] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d2a02bf..7e79f94 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@

-[![Build Status](http://img.shields.io/travis/COVID-19-electronic-health-system/PanFLUte/master.svg?style=for-the-badge)](https://travis-ci.org/COVID-19-electronic-health-system/PanFLUte) +![panflute tests](https://github.com/COVID-19-electronic-health-system/PanFLUte/workflows/panflute%20tests/badge.svg) PanFLUte (Pneumonia analyzing node for FLU to everyone) is an open source spirometer. It is used to measures the amount of air you're able to breathe in and out. From 2734e3d1711ec87a39c86aec0f06465c1b136ebc Mon Sep 17 00:00:00 2001 From: akilhylton Date: Mon, 8 Jun 2020 21:34:01 -0400 Subject: [PATCH 06/22] some test --- board/Makefile | 2 +- board/adc/adc.c | 4 +- board/firmware/main.bin | Bin 3519 -> 20904 bytes board/firmware/main.hex | 126 ++++++++++++++++++++++++++++++++++++++-- board/main.c | 11 +++- 5 files changed, 131 insertions(+), 12 deletions(-) diff --git a/board/Makefile b/board/Makefile index db8f1e5..10cf456 100644 --- a/board/Makefile +++ b/board/Makefile @@ -3,7 +3,7 @@ PROGRAMMER=atmelice_isp F_CPU=1000000 CC=avr-gcc OBJCOPY=avr-objcopy -CFLAGS=-Wall -g -Os -mmcu=${MCU} -DF_CPU=${F_CPU} -Wl,-u,vfprintf -lprintf_flt -lm +CFLAGS=-Wall -g -Os -mmcu=${MCU} -DF_CPU=${F_CPU} -Wl,-u,vfprintf TARGET=main SRC=main.c ADC_LIB=adc/adc.c diff --git a/board/adc/adc.c b/board/adc/adc.c index dea3df8..6448ea1 100644 --- a/board/adc/adc.c +++ b/board/adc/adc.c @@ -4,8 +4,8 @@ void adcInit(void) { /* Enable ADC */ ADCSRA = (1 << ADEN) | (1 << ADSC); /* Left Adjust Results */ - ADCSRB = (1 << ADLAR); - //printf("ADC has started\n"); + //ADCSRB = (1 << ADLAR); + //printf("ADC has started\n"); } /* diff --git a/board/firmware/main.bin b/board/firmware/main.bin index 6f3e45a9f33e845ffce9e5d93088e8022b69d058..311d1aaf8683c9f61c9d6f75b8d4e44a90aad1b2 100755 GIT binary patch literal 20904 zcmeHPdw5mVmER}f5uOQxfJjIJ0TN8^D>pZfE02&HFak+Tf}&L~H_6RI^CG#4(oW@G z5-`3nuM0lf5w*3o)7k<3d`{))bXsbsCUp9Boa&T|){%C!gqnh_NanZpIp?08o#@wo z^YNdX@7(iSzrFU_Yp?w}udt_R>n24}n2};w1v4Zk$g)z#uE5#Jl36TEWASV@&mS}j z;C$>`JZ~8w9n*-?kAygI$ftwSOdLjjqMD<+)NIwMW~mOPj_LU7;>lQ`BTNNnNHUs!P=?)p@B&uMV9#5&7-0UmTkk zIUG3>`Q!WNBQfgK-Z}lx*pE#Auk$I9XHFf7C~9K=cO6HkpE`fzaNu8mGNe9Y{r&#a zeUX&1;D+7}r_M8#G4-LYcL&cXht6^-E*$)D-%D}f-hsU=I1pkzr-B3f*#1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_=A-F z%@qDZ!DRn+mw&7Moua4x{0OY(`z@t!rSQMN$$nbxttgJ_KL)IxcYg{WRO~7Lv6Ox` zg%?uzl@xY>8GDN+^tH~`1r|`?YbpEp6g}m?nbLm_te)p9VEMfnf&HzN{kOo94BYqK zl>V0#{yl~NOksTRy6TrjOR4+Wp2GWp$%lyY=cxtb|IcA`?o=1n*)*_vKj%_-9(Z0v zLp)t)O9~zaruS3zucdI1!dFxHdJ4-=uxT#Nn@^f16U7T?Rik$)4<>dc;*%KhCd?{!9&|@69ZI|=Y4eWj z&<5gTPAWksk0|o#geS3Wqe6|Y&_QBRQar2nvb9!MQqTsdq_S4@yD4#{Lao?Vvn#Zz zWLNKj_AfWCoU26U(b;7sqJ&ZTAgiq6io_45?mWuHmJTy&3D}9blZQ4ab51BcU6qup HVJ6sricC6D diff --git a/board/firmware/main.hex b/board/firmware/main.hex index ff16a90..694d83f 100644 --- a/board/firmware/main.hex +++ b/board/firmware/main.hex @@ -1,7 +1,121 @@ -:100000001DC024C023C022C021C020C01FC01EC0EC -:100010001DC01CC01BC01AC019C018C017C016C014 -:1000200015C014C013C012C011C010C00FC00EC044 -:100030000DC00CC00BC00AC009C008C011241FBEEF -:10004000CFEFD1E0DEBFCDBF02D002C0D9CFFFCF0E -:04005000F894FFCF52 +:100000001DC037C036C035C034C033C032C031C067 +:1000100030C02FC02EC02DC02CC02BC02AC029C07C +:1000200028C027C026C025C024C023C022C021C0AC +:1000300020C01FC01EC01DC01CC01BC011241FBE7D +:10004000CFEFD1E0DEBFCDBF11E0A0E0B1E0EEE543 +:10005000F7E002C005900D92AE31B107D9F721E06B +:10006000AEE1B1E001C01D92A832B207E1F759D06C +:1000700074C3C6CFC09A2FE986E891E02150804032 +:100080009040E1F700C00000C09883E294EF019730 +:10009000F1F700C00000089580EC85B908959093B1 +:1000A00082008093810088E18093850086E08093C0 +:1000B000840082E08093860008959091860095FFE9 +:1000C000FCCF8093800008958091860087FFFCCF4D +:1000D0008091800008959091860095FFFCCF8093D9 +:1000E000800080E090E00895D19A089520E030E00B +:1000F0002817390749F0E9EFF0E03197F1F700C030 +:1001000000002F5F3F4FF4CF0895CF93DF93EC01B2 +:10011000D89AECDFD898CE0196958795DF91CF914C +:10012000E5CF81E087BBB8DF8CE090E0B8DF80E00E +:1001300091E09093250180932401CEE0D1E02E99A7 +:10014000FECF2E9A26B130E030932101209320017A +:1001500087B190E06FEF70E017D0820F931F9093FC +:100160001F0180931E018C979F938F93DF93CF93F2 +:100170001CD08BE792E90197F1F700C000000F90C7 +:100180000F900F900F90DBCF0024552704C0080E6E +:10019000591F880F991F009729F076956795B8F336 +:1001A0007105B9F7802D952F0895A0E0B0E0EAED34 +:1001B000F0E0ACC2AE014B5F5F4FFA01619171910B +:1001C000AF01809124019091250102D0E2E0BAC2F2 +:1001D000ABE0B0E0EDEEF0E089C26C017B018A019A +:1001E000FC0117821682838181FFC0C1CE01019676 +:1001F0003C01F6019381F70193FD859193FF819175 +:100200007F01882309F4AEC1853239F493FD8591CD +:1002100093FF81917F01853221F4B60190E0C1D135 +:10022000E8CF912C212C312CFFE1F315E0F08B323B +:1002300079F038F4803279F08332A9F4232D2061EB +:1002400010C08D3259F0803371F4232D216009C024 +:10025000832D8260382EE32DE46022C0F32DF860F8 +:1002600025C0322E27C037FC2DC020ED280F2A30A4 +:1002700088F436FE06C0892D6AE02FD2922E980EA1 +:1002800019C0822D6AE029D2222E280E832D806289 +:10029000382E10C08E3231F436FC64C1E32DE06498 +:1002A0003E2E08C08C3621F4F32DF0683F2E02C09C +:1002B000883641F4F70193FD859193FF81917F0189 +:1002C0008111B2CF982F9F7D9554933028F40C5F05 +:1002D0001F4F2FE329830DC0833631F0833771F030 +:1002E000833509F055C020C0F801808189830E5FF5 +:1002F0001F4F88248394912C530112C02801F2E0EF +:100300004F0E511CF801A080B18036FE03C0692D4C +:1003100070E002C06FEF7FEFC50138D14C01820160 +:10032000F32DFF773F2E15C0280122E0420E511C0D +:10033000F801A080B18036FE03C0692D70E002C0D4 +:100340006FEF7FEFC50117D14C01F32DF0683F2E01 +:10035000820133FC19C0822D90E088169906A0F422 +:10036000B60180E290E01DD12A94F5CFF50137FC6B +:10037000859137FE81915F01B60190E012D1211085 +:100380002A9421E0821A91088114910479F7E1C03E +:10039000843611F0893639F5F80137FE07C06081DF +:1003A0007181828193810C5F1F4F08C060817181D0 +:1003B000072E000C880B990B0E5F1F4FF32DFF7655 +:1003C0003F2E97FF09C090958095709561957F4F5E +:1003D0008F4F9F4FF0683F2E2AE030E0A3011DD1E0 +:1003E000882E861844C0853731F4232D2F7EB22EF7 +:1003F0002AE030E025C0932D997FB92E8F36C1F0C9 +:1004000018F4883579F0AEC0803719F0883721F0BC +:10041000A9C0E92FE061BE2EB4FE0DC0FB2DF46033 +:10042000BF2E09C034FE0AC0292F2660B22E06C096 +:1004300028E030E005C020E130E002C020E132E0F9 +:10044000F801B7FE07C060817181828193810C5FE2 +:100450001F4F06C06081718180E090E00E5F1F4FEA +:10046000A301DBD0882E8618FB2DFF773F2E36FEAA +:100470000DC0232D2E7FA22E891458F434FE0BC0FC +:1004800032FC09C0832D8E7EA82E05C0B82CA32C6B +:1004900003C0B82C01C0B92CA4FE0FC0FE01E80DAA +:1004A000F11D8081803321F49A2D997EA92E09C0F7 +:1004B000A2FE06C0B394B39404C08A2D867809F0D6 +:1004C000B394A3FC10C0A0FE06C0B21480F4280CA4 +:1004D000922C9B180DC0B21458F4B60180E290E043 +:1004E00060D0B394F8CFB21418F42B1802C0982C33 +:1004F000212CA4FE0FC0B60180E390E052D0A2FEF2 +:1005000016C0A1FC03C088E790E002C088E590E037 +:10051000B6010CC08A2D867851F0A1FE02C08BE294 +:1005200001C080E2A7FC8DE2B60190E03AD08914C8 +:1005300030F4B60180E390E034D09A94F8CF8A94F6 +:10054000F301E80DF11D8081B60190E02AD0811001 +:10055000F6CF222009F44DCEB60180E290E021D002 +:100560002A94F7CFF6018681978102C08FEF9FEF23 +:100570002B96E2E1D7C0FC0105906150704001105C +:10058000D8F7809590958E0F9F1F0895FC016150BC +:10059000704001900110D8F7809590958E0F9F1FA5 +:1005A00008950F931F93CF93DF93FB01238121FDC8 +:1005B00003C08FEF9FEF2CC022FF16C046815781EA +:1005C000248135814217530744F4A081B1819D01F4 +:1005D0002F5F3F4F318320838C93268137812F5F9C +:1005E0003F4F3783268314C08B01EC01FB0100844D +:1005F000F185E02D0995892BE1F6D80116968D91AC +:100600009C911797019617969C938E931697CE01FF +:10061000DF91CF911F910F910895FA01AA272830F9 +:1006200061F1203191F1E8946F936E7F6E5F7F4F9F +:100630008F4F9F4FAF4FB1E040D0B4E03ED0670F37 +:10064000781F891F9A1FA11D680F791F8A1F911D8E +:10065000A11D6A0F711D811D911DA11D22D009F4DC +:1006600068943F91062E000C3019000C000C3019D4 +:10067000305D3193CEF6CF010895462F4770405D2F +:100680004193B3E00FD0C9F7F6CF462F4F70405DCE +:100690004A3318F0495D31FD4052419302D0A9F729 +:1006A000EACFB4E0A6959795879577956795BA9523 +:1006B000C9F700976105710508959B01AC010A2EE9 +:1006C00006945795479537952795BA95C9F7620FC0 +:1006D000731F841F951FA01D0895002480FD060E22 +:1006E000660F11F08695D1F7802D08952F923F92D5 +:1006F0004F925F926F927F928F929F92AF92BF9232 +:10070000CF92DF92EF92FF920F931F93CF93DF93DD +:10071000CDB7DEB7CA1BDB0B0FB6F894DEBF0FBE3A +:10072000CDBF09942A88398848885F846E847D8487 +:100730008C849B84AA84B984C884DF80EE80FD8089 +:100740000C811B81AA81B981CE0FD11D0FB6F894FF +:0E075000DEBF0FBECDBFED010895F894FFCFC0 +:10075E0000000003000000006B00000000003130BC +:0E076E0020626974204144433A2025640A0049 :00000001FF diff --git a/board/main.c b/board/main.c index 387d568..9d2c9af 100644 --- a/board/main.c +++ b/board/main.c @@ -1,19 +1,24 @@ #include #include "driver/usart.h" #include "driver/adc.h" +#define OFFSET 44 static FILE mystdout = FDEV_SETUP_STREAM(print, NULL, _FDEV_SETUP_RW); +int a_in; +int a; -int main(void) { +int main(void) { adcInit(); usartInit(MYUBRR); stdout = &mystdout; while(1) { while(ADCSRA & (1 << ADSC)); ADCSRA |= (1 << ADSC); // Start ADC conversion - // TODO: Must subtract ADCH from offset. - printf("PSI: %.2f\n", (ADCH / 255.0) * 14.5); + a_in = ADCL; + a = (ADCH * 255) + a_in; + printf("10 bit ADC: %d\n", a - OFFSET); _delay_ms(150); + } } return 0; } From c64f10582214dcb3bf50241c10bdbdfd6764958b Mon Sep 17 00:00:00 2001 From: akilhylton Date: Mon, 8 Jun 2020 21:40:56 -0400 Subject: [PATCH 07/22] Should fix merge conflict --- board/Makefile | 2 +- board/adc/adc.c | 7 +++---- board/main.c | 32 ++++---------------------------- 3 files changed, 8 insertions(+), 33 deletions(-) diff --git a/board/Makefile b/board/Makefile index 10cf456..b4c0473 100644 --- a/board/Makefile +++ b/board/Makefile @@ -3,7 +3,7 @@ PROGRAMMER=atmelice_isp F_CPU=1000000 CC=avr-gcc OBJCOPY=avr-objcopy -CFLAGS=-Wall -g -Os -mmcu=${MCU} -DF_CPU=${F_CPU} -Wl,-u,vfprintf +CFLAGS=-Wall -g -Os -mmcu=${MCU} -DF_CPU=${F_CPU} -Wl,-u,vfprintf -lprintf_flt -lm TARGET=main SRC=main.c ADC_LIB=adc/adc.c diff --git a/board/adc/adc.c b/board/adc/adc.c index 2f419dc..64397b4 100644 --- a/board/adc/adc.c +++ b/board/adc/adc.c @@ -9,14 +9,13 @@ void adcInit(void) { //printf("ADC has started\n"); } - /* void getPSI(void) { ADCSRA |= (1 << ADSC); // Start ADC conversion float rawPresureData = ADCH; // Max is 8bit value printf("PSI: %.2f", (rawPresureData / 255.0) * 14.5); - _delay_ms(100); - + delay_ms(100); +} uint8_t adcStart(void) { ADCSRA |= (1 << ADSC); // Start ADC conversion @@ -24,5 +23,5 @@ uint8_t adcStart(void) { uint8_t rawPresureData = ADCH; // Max is 8bit value return rawPresureData; - } +*/ diff --git a/board/main.c b/board/main.c index ba73e3e..15223f6 100644 --- a/board/main.c +++ b/board/main.c @@ -5,40 +5,16 @@ #define OFFSET 44 static FILE mystdout = FDEV_SETUP_STREAM(print, NULL, _FDEV_SETUP_RW); -int a_in; -int a; - -<<<<<<< HEAD -int main(void) { -======= int main(void) { ->>>>>>> b4fc6fd1c59c6124dbb1c7cc156b1d2dfa90a838 adcInit(); usartInit(MYUBRR); stdout = &mystdout; while(1) { while(ADCSRA & (1 << ADSC)); ADCSRA |= (1 << ADSC); // Start ADC conversion -<<<<<<< HEAD - a_in = ADCL; - a = (ADCH * 255) + a_in; - printf("10 bit ADC: %d\n", a - OFFSET); - _delay_ms(150); + // TODO: Must subtract ADCH from offset. + printf("PSI: %.2f\n", (ADCH / 255.0) * 14.5); + delay_ms(150); } -======= - // TODO: Must subtract ADCH from offset. - printf("PSI: %.2f\n", (ADCH / 255.0) * 14.5); - delay_ms(150); - -int main(void) { - adcInit(); - usartInit(MYUBRR); - stdout = &mystdout; - while(1) { - printf("Should be sensor data: %d\n", adcStart()); - delay_ms(1000); ->>>>>>> b4fc6fd1c59c6124dbb1c7cc156b1d2dfa90a838 - } - return 0; -} \ No newline at end of file +} From dcb047ed930030ad861e46160c6e1a4b9e70853a Mon Sep 17 00:00:00 2001 From: akilhylton Date: Mon, 8 Jun 2020 21:46:48 -0400 Subject: [PATCH 08/22] Moved offset to adc driver --- board/driver/adc.h | 5 ++--- board/main.c | 1 - 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/board/driver/adc.h b/board/driver/adc.h index 8eb5678..06147ca 100644 --- a/board/driver/adc.h +++ b/board/driver/adc.h @@ -1,8 +1,7 @@ #include #include +#define OFFSET 44 void adcInit(void); - //void getPSI(void); - -uint8_t adcStart(void); +//uint8_t adcStart(void); diff --git a/board/main.c b/board/main.c index 15223f6..78aeed0 100644 --- a/board/main.c +++ b/board/main.c @@ -2,7 +2,6 @@ #include "driver/usart.h" #include "driver/led.h" #include "driver/adc.h" -#define OFFSET 44 static FILE mystdout = FDEV_SETUP_STREAM(print, NULL, _FDEV_SETUP_RW); From 35678d741bc2cf205396ca65582ddc09d4a41367 Mon Sep 17 00:00:00 2001 From: akilhylton Date: Mon, 8 Jun 2020 21:49:55 -0400 Subject: [PATCH 09/22] Removed unused delay lib --- board/main.c | 1 - 1 file changed, 1 deletion(-) diff --git a/board/main.c b/board/main.c index 78aeed0..7e9c3cd 100644 --- a/board/main.c +++ b/board/main.c @@ -1,4 +1,3 @@ -#include #include "driver/usart.h" #include "driver/led.h" #include "driver/adc.h" From 629c3a4cf7460eeafdd79f83598d68df7bb49698 Mon Sep 17 00:00:00 2001 From: akilhylton Date: Tue, 9 Jun 2020 16:09:59 -0400 Subject: [PATCH 10/22] Removed LED lib --- board/Makefile | 3 +-- board/driver/led.h | 7 ------- board/led/led.c | 18 ------------------ 3 files changed, 1 insertion(+), 27 deletions(-) delete mode 100644 board/driver/led.h delete mode 100644 board/led/led.c diff --git a/board/Makefile b/board/Makefile index b4c0473..8ae4b45 100644 --- a/board/Makefile +++ b/board/Makefile @@ -9,10 +9,9 @@ SRC=main.c ADC_LIB=adc/adc.c USART_LIB=usart/usart.c MPX_LIB=mpx5100/mpx5100.c -LED_LIB=led/led.c all: - ${CC} ${CFLAGS} ${SRC} ${ADC_LIB} ${USART_LIB} ${MPX_LIB} ${LED_LIB} -o firmware/${TARGET}.bin -std=c99 + ${CC} ${CFLAGS} ${SRC} ${ADC_LIB} ${USART_LIB} ${MPX_LIB} -o firmware/${TARGET}.bin -std=c99 ${OBJCOPY} -j .text -j .data -O ihex firmware/${TARGET}.bin firmware/${TARGET}.hex flash: diff --git a/board/driver/led.h b/board/driver/led.h deleted file mode 100644 index be3e173..0000000 --- a/board/driver/led.h +++ /dev/null @@ -1,7 +0,0 @@ -#include -#include -#define STATUS_LED PB0 - -void ledInit(void); -void idle_blink(unsigned int period); -void delay_ms(unsigned int ms); diff --git a/board/led/led.c b/board/led/led.c deleted file mode 100644 index a5241e8..0000000 --- a/board/led/led.c +++ /dev/null @@ -1,18 +0,0 @@ -#include "../driver/led.h" - -void ledInit(void) { - DDRA |= (1 << DDA1); -} - -void idle_blink(unsigned int period) { - PORTA |= (1 << STATUS_LED); - delay_ms(period); - PORTA &= ~(1 << STATUS_LED); - delay_ms(period/2); -} - -void delay_ms(unsigned int ms) { - for (int i = 0; i < ms; i++) { - _delay_ms(1); - } -} From d83b454182e254b82775560ab0d4ab04dbe83b17 Mon Sep 17 00:00:00 2001 From: akilhylton Date: Tue, 9 Jun 2020 16:18:45 -0400 Subject: [PATCH 11/22] Remove LED include from main --- board/main.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/board/main.c b/board/main.c index 7e9c3cd..8eefcc2 100644 --- a/board/main.c +++ b/board/main.c @@ -1,5 +1,4 @@ #include "driver/usart.h" -#include "driver/led.h" #include "driver/adc.h" static FILE mystdout = FDEV_SETUP_STREAM(print, NULL, _FDEV_SETUP_RW); @@ -13,6 +12,5 @@ int main(void) { ADCSRA |= (1 << ADSC); // Start ADC conversion // TODO: Must subtract ADCH from offset. printf("PSI: %.2f\n", (ADCH / 255.0) * 14.5); - delay_ms(150); } } From 3061eed18a88d47a5c295e719f29793b292c4c1a Mon Sep 17 00:00:00 2001 From: Akil M Hylton Date: Sat, 13 Jun 2020 17:17:09 -0400 Subject: [PATCH 12/22] Update Makefile Switch from ATtiny441 to ATtiny841 --- board/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/Makefile b/board/Makefile index 8ae4b45..b490499 100644 --- a/board/Makefile +++ b/board/Makefile @@ -1,4 +1,4 @@ -MCU=attiny441 +MCU=attiny841 PROGRAMMER=atmelice_isp F_CPU=1000000 CC=avr-gcc From 3c1cb265fd18047294b6aaad4dcba38b0dbe7437 Mon Sep 17 00:00:00 2001 From: akilhylton Date: Mon, 3 Aug 2020 13:50:42 -0400 Subject: [PATCH 13/22] Added math to calculate flow rate --- board/adc/adc.c | 31 ++++++++++++++++--------------- board/driver/adc.h | 12 ++++++++---- board/main.c | 11 ++++------- 3 files changed, 28 insertions(+), 26 deletions(-) diff --git a/board/adc/adc.c b/board/adc/adc.c index 64397b4..bbd55d0 100644 --- a/board/adc/adc.c +++ b/board/adc/adc.c @@ -1,27 +1,28 @@ #include "../driver/adc.h" - void adcInit(void) { /* Enable ADC */ ADCSRA = (1 << ADEN) | (1 << ADSC); - /* Left Adjust Results */ - //ADCSRB = (1 << ADLAR); - //printf("ADC has started\n"); } -/* -void getPSI(void) { + +void getPascal(void) { + while(ADCSRA & (1 << ADSC)); ADCSRA |= (1 << ADSC); // Start ADC conversion - float rawPresureData = ADCH; // Max is 8bit value - printf("PSI: %.2f", (rawPresureData / 255.0) * 14.5); - delay_ms(100); + int ten_bit_value = ADCL + (ADCH * 256); + kiloPascal = ten_bit_value / SENSITIVITY; + pascal = fabs(kiloPascal - 0.98) * 1000.00; + printf("Pa: %.2f\n", pascal); + _delay_ms(250); } -uint8_t adcStart(void) { +void getFlowRate(void) { + while(ADCSRA & (1 << ADSC)); ADCSRA |= (1 << ADSC); // Start ADC conversion - loop_until_bit_is_clear(ADCSRA, ADSC); - uint8_t rawPresureData = ADCH; // Max is 8bit value - - return rawPresureData; + int ten_bit_value = ADCL + (ADCH * 256); + kiloPascal = ten_bit_value / SENSITIVITY; + pascal = fabs(kiloPascal - 0.98) * 1000.00; + flow = sqrt(pascal / 33); // Bernoulli's equation + printf("Flow rate %.2f cm/s\n", flow); + _delay_ms(250); } -*/ diff --git a/board/driver/adc.h b/board/driver/adc.h index 06147ca..aa47989 100644 --- a/board/driver/adc.h +++ b/board/driver/adc.h @@ -1,7 +1,11 @@ +#include #include -#include -#define OFFSET 44 +#include +#include +#define SENSITIVITY 44.00 +float kiloPascal, pascal; +float flow; void adcInit(void); -//void getPSI(void); -//uint8_t adcStart(void); +void getPascal(void); +void getFlowRate(void); diff --git a/board/main.c b/board/main.c index 8eefcc2..e2e72c0 100644 --- a/board/main.c +++ b/board/main.c @@ -4,13 +4,10 @@ static FILE mystdout = FDEV_SETUP_STREAM(print, NULL, _FDEV_SETUP_RW); int main(void) { - adcInit(); - usartInit(MYUBRR); + adcInit(); + usartInit(MYUBRR); stdout = &mystdout; while(1) { - while(ADCSRA & (1 << ADSC)); - ADCSRA |= (1 << ADSC); // Start ADC conversion - // TODO: Must subtract ADCH from offset. - printf("PSI: %.2f\n", (ADCH / 255.0) * 14.5); - } + getFlowRate(); + } } From 2cc76484c4c985dad5133b5f974ab4a99d7a5e30 Mon Sep 17 00:00:00 2001 From: akilhylton Date: Wed, 5 Aug 2020 02:22:47 -0400 Subject: [PATCH 14/22] Calibrated adc values --- board/adc/adc.c | 19 +++++++++++++++++-- board/driver/adc.h | 6 +++++- board/main.c | 2 +- 3 files changed, 23 insertions(+), 4 deletions(-) diff --git a/board/adc/adc.c b/board/adc/adc.c index bbd55d0..7373036 100644 --- a/board/adc/adc.c +++ b/board/adc/adc.c @@ -5,12 +5,27 @@ void adcInit(void) { ADCSRA = (1 << ADEN) | (1 << ADSC); } +void rawADC(void) { + float sum = 0; + int adc_values_arr[N]; + for (int i = 0; i < N; i++) { + while(ADCSRA & (1 << ADSC)); + ADCSRA |= (1 << ADSC); // Start ADC conversion + int ten_bit_value = ADCL + (ADCH * 256); + adc_values_arr[i] = ten_bit_value; + sum += adc_values_arr[i]; + } + calibrated_adc_value = floor((sum / 55.0) - OFFSET); + printf("Calibrated ADC Value: %.2f\n", calibrated_adc_value); + _delay_ms(250); +} + void getPascal(void) { while(ADCSRA & (1 << ADSC)); ADCSRA |= (1 << ADSC); // Start ADC conversion int ten_bit_value = ADCL + (ADCH * 256); - kiloPascal = ten_bit_value / SENSITIVITY; + kiloPascal = ten_bit_value / OFFSET; pascal = fabs(kiloPascal - 0.98) * 1000.00; printf("Pa: %.2f\n", pascal); _delay_ms(250); @@ -20,7 +35,7 @@ void getFlowRate(void) { while(ADCSRA & (1 << ADSC)); ADCSRA |= (1 << ADSC); // Start ADC conversion int ten_bit_value = ADCL + (ADCH * 256); - kiloPascal = ten_bit_value / SENSITIVITY; + kiloPascal = ten_bit_value / OFFSET; pascal = fabs(kiloPascal - 0.98) * 1000.00; flow = sqrt(pascal / 33); // Bernoulli's equation printf("Flow rate %.2f cm/s\n", flow); diff --git a/board/driver/adc.h b/board/driver/adc.h index aa47989..8309cf3 100644 --- a/board/driver/adc.h +++ b/board/driver/adc.h @@ -2,10 +2,14 @@ #include #include #include -#define SENSITIVITY 44.00 +#define OFFSET 44 // Value which offsets adc to 0 +#define N 55 // Numbers of values averaged from adc +int adc_values_arr[N]; +float calibrated_adc_value; float kiloPascal, pascal; float flow; void adcInit(void); void getPascal(void); void getFlowRate(void); +void rawADC(void); diff --git a/board/main.c b/board/main.c index e2e72c0..fa1555d 100644 --- a/board/main.c +++ b/board/main.c @@ -8,6 +8,6 @@ int main(void) { usartInit(MYUBRR); stdout = &mystdout; while(1) { - getFlowRate(); + rawADC(); } } From 33e022ac4d44442807435da15ca53e354a316024 Mon Sep 17 00:00:00 2001 From: akilhylton Date: Thu, 6 Aug 2020 04:58:04 -0400 Subject: [PATCH 15/22] Return float of calibrated adc values --- board/adc/adc.c | 26 ++------------------------ board/driver/adc.h | 6 +----- 2 files changed, 3 insertions(+), 29 deletions(-) diff --git a/board/adc/adc.c b/board/adc/adc.c index 7373036..14e5527 100644 --- a/board/adc/adc.c +++ b/board/adc/adc.c @@ -5,7 +5,7 @@ void adcInit(void) { ADCSRA = (1 << ADEN) | (1 << ADSC); } -void rawADC(void) { +float adcRead(void) { float sum = 0; int adc_values_arr[N]; for (int i = 0; i < N; i++) { @@ -16,28 +16,6 @@ void rawADC(void) { sum += adc_values_arr[i]; } calibrated_adc_value = floor((sum / 55.0) - OFFSET); - printf("Calibrated ADC Value: %.2f\n", calibrated_adc_value); - _delay_ms(250); + return calibrated_adc_value; } - -void getPascal(void) { - while(ADCSRA & (1 << ADSC)); - ADCSRA |= (1 << ADSC); // Start ADC conversion - int ten_bit_value = ADCL + (ADCH * 256); - kiloPascal = ten_bit_value / OFFSET; - pascal = fabs(kiloPascal - 0.98) * 1000.00; - printf("Pa: %.2f\n", pascal); - _delay_ms(250); -} - -void getFlowRate(void) { - while(ADCSRA & (1 << ADSC)); - ADCSRA |= (1 << ADSC); // Start ADC conversion - int ten_bit_value = ADCL + (ADCH * 256); - kiloPascal = ten_bit_value / OFFSET; - pascal = fabs(kiloPascal - 0.98) * 1000.00; - flow = sqrt(pascal / 33); // Bernoulli's equation - printf("Flow rate %.2f cm/s\n", flow); - _delay_ms(250); -} diff --git a/board/driver/adc.h b/board/driver/adc.h index 8309cf3..8cf13b9 100644 --- a/board/driver/adc.h +++ b/board/driver/adc.h @@ -7,9 +7,5 @@ int adc_values_arr[N]; float calibrated_adc_value; -float kiloPascal, pascal; -float flow; void adcInit(void); -void getPascal(void); -void getFlowRate(void); -void rawADC(void); +float adcRead(void); From 166e3be6b042fe953b42dd07540756e541e7560c Mon Sep 17 00:00:00 2001 From: akilhylton Date: Thu, 6 Aug 2020 05:13:56 -0400 Subject: [PATCH 16/22] Adding mpx5100 support --- board/driver/mpx5100.h | 9 ++++++++- board/mpx5100/mpx5100.c | 6 ++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/board/driver/mpx5100.h b/board/driver/mpx5100.h index 017bd68..60f0925 100644 --- a/board/driver/mpx5100.h +++ b/board/driver/mpx5100.h @@ -1,3 +1,10 @@ +#ifndef MPX5100_H +#define MPX5100_H + #include "../driver/adc.h" -// #define SIGNAL_OFFSET // This value corresponds to an air flow of 0 +#define MAX_PRESSURE 120 // Pressure in KPa + +float pascal, adc_val; +void getPascal(void); +#endif // MPX5100_H diff --git a/board/mpx5100/mpx5100.c b/board/mpx5100/mpx5100.c index 6f2ae19..5259818 100644 --- a/board/mpx5100/mpx5100.c +++ b/board/mpx5100/mpx5100.c @@ -1 +1,7 @@ #include "../driver/adc.h" + +void getPascal(void) { + adc_val = adcRead(); + pascal = ((adc_val / 1023) * MAX_PRESSURE) * 1000; + printf("%.2f Pa\n" pascal); +} From 8108c1ac2577273b4c71a632cf1b3b8f94d3e271 Mon Sep 17 00:00:00 2001 From: akilhylton Date: Thu, 6 Aug 2020 05:22:10 -0400 Subject: [PATCH 17/22] Added include guards --- board/driver/adc.h | 5 +++++ board/driver/usart.h | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/board/driver/adc.h b/board/driver/adc.h index 8cf13b9..4ee3dc9 100644 --- a/board/driver/adc.h +++ b/board/driver/adc.h @@ -1,3 +1,6 @@ +#ifndef ADC_H +#define ADC_H + #include #include #include @@ -9,3 +12,5 @@ int adc_values_arr[N]; float calibrated_adc_value; void adcInit(void); float adcRead(void); + +#endif // ADC_H diff --git a/board/driver/usart.h b/board/driver/usart.h index 6a7b304..10992ca 100644 --- a/board/driver/usart.h +++ b/board/driver/usart.h @@ -1,3 +1,6 @@ +#ifndef USART_H +#define USART_H + #include #include #include @@ -8,3 +11,5 @@ void usartInit(unsigned int ubrr); void usartTransmit(unsigned char data); unsigned char usartReceive(void); int print(char c, FILE *stream); + +#endif // USART_H From bf22a658196f725fd16305778f997ccd7c1b32cc Mon Sep 17 00:00:00 2001 From: akilhylton Date: Thu, 6 Aug 2020 05:28:20 -0400 Subject: [PATCH 18/22] rawADC function has been renamed --- board/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/main.c b/board/main.c index fa1555d..a91c7f4 100644 --- a/board/main.c +++ b/board/main.c @@ -8,6 +8,6 @@ int main(void) { usartInit(MYUBRR); stdout = &mystdout; while(1) { - rawADC(); + adcRead(); } } From caede894aeec6f82b9ce90d2d7246c6bc652d882 Mon Sep 17 00:00:00 2001 From: akilhylton Date: Thu, 6 Aug 2020 05:36:04 -0400 Subject: [PATCH 19/22] Changed variables for floating point math --- board/driver/mpx5100.h | 2 +- board/mpx5100/mpx5100.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/board/driver/mpx5100.h b/board/driver/mpx5100.h index 60f0925..c8774c8 100644 --- a/board/driver/mpx5100.h +++ b/board/driver/mpx5100.h @@ -2,7 +2,7 @@ #define MPX5100_H #include "../driver/adc.h" -#define MAX_PRESSURE 120 // Pressure in KPa +#define MAX_PRESSURE 120.0 // Pressure in KPa float pascal, adc_val; void getPascal(void); diff --git a/board/mpx5100/mpx5100.c b/board/mpx5100/mpx5100.c index 5259818..751bfd2 100644 --- a/board/mpx5100/mpx5100.c +++ b/board/mpx5100/mpx5100.c @@ -2,6 +2,6 @@ void getPascal(void) { adc_val = adcRead(); - pascal = ((adc_val / 1023) * MAX_PRESSURE) * 1000; + pascal = ((adc_val / 1023.0) * MAX_PRESSURE) * 1000.0; printf("%.2f Pa\n" pascal); } From f5dd6177186fb5493fc52cccb2da53ab6d79abaf Mon Sep 17 00:00:00 2001 From: Akil M Hylton Date: Thu, 6 Aug 2020 15:43:10 -0400 Subject: [PATCH 20/22] Update README.md --- README.md | 6 ------ 1 file changed, 6 deletions(-) diff --git a/README.md b/README.md index 7e79f94..27b8e7c 100644 --- a/README.md +++ b/README.md @@ -9,12 +9,6 @@ PanFLUte (Pneumonia analyzing node for FLU to everyone) is an open source spirometer. It is used to measures the amount of air you're able to breathe in and out. -## Software block diagram -The block diagram representing the general scheme of the software. -

- -

- # Installation ### Compiling firmware in Docker 1. ```git clone https://github.com/COVID-19-electronic-health-system/PanFLUte.git``` From b7159d32c4dae5957d398791f1ba948c48f729b4 Mon Sep 17 00:00:00 2001 From: akilhylton Date: Fri, 7 Aug 2020 18:21:08 -0400 Subject: [PATCH 21/22] Using doxygen for docs --- board/adc/adc.c | 15 +- board/mpx5100/mpx5100.c | 10 + board/usart/usart.c | 10 +- doc/Doxyfile | 2506 +++++++++++++++++ doc/README.md | 6 + doc/html/adc_8h_source.html | 98 + doc/html/bc_s.png | Bin 0 -> 676 bytes doc/html/bdwn.png | Bin 0 -> 147 bytes doc/html/closed.png | Bin 0 -> 132 bytes .../dir_0f6596954b0a144a48388b62e36891fc.html | 80 + .../dir_52db8e13f8da7006efa1cfb4edb17b10.html | 80 + .../dir_7149141a7e3af1ee95dfb0598e371427.html | 84 + .../dir_dbd1fcc5b855ac2512d73485bf426013.html | 80 + .../dir_fa9696292446b43152ca7e4058c81b2a.html | 80 + doc/html/doc.png | Bin 0 -> 746 bytes doc/html/doxygen.css | 1730 ++++++++++++ doc/html/doxygen.png | Bin 0 -> 3779 bytes doc/html/dynsections.js | 121 + doc/html/files.html | 85 + doc/html/folderclosed.png | Bin 0 -> 616 bytes doc/html/folderopen.png | Bin 0 -> 597 bytes doc/html/group__group1.html | 133 + doc/html/group__group2.html | 109 + doc/html/group__group3.html | 154 + doc/html/index.html | 82 + doc/html/jquery.js | 35 + doc/html/menu.js | 51 + doc/html/menudata.js | 29 + doc/html/modules.html | 83 + doc/html/mpx5100_8h_source.html | 91 + doc/html/nav_f.png | Bin 0 -> 153 bytes doc/html/nav_g.png | Bin 0 -> 95 bytes doc/html/nav_h.png | Bin 0 -> 98 bytes doc/html/open.png | Bin 0 -> 123 bytes doc/html/search/all_0.html | 36 + doc/html/search/all_0.js | 5 + doc/html/search/all_1.html | 36 + doc/html/search/all_1.js | 4 + doc/html/search/all_2.html | 36 + doc/html/search/all_2.js | 4 + doc/html/search/all_3.html | 36 + doc/html/search/all_3.js | 4 + doc/html/search/all_4.html | 36 + doc/html/search/all_4.js | 7 + doc/html/search/close.png | Bin 0 -> 273 bytes doc/html/search/functions_0.html | 36 + doc/html/search/functions_0.js | 5 + doc/html/search/functions_1.html | 36 + doc/html/search/functions_1.js | 4 + doc/html/search/functions_2.html | 36 + doc/html/search/functions_2.js | 6 + doc/html/search/groups_0.html | 36 + doc/html/search/groups_0.js | 4 + doc/html/search/groups_1.html | 36 + doc/html/search/groups_1.js | 4 + doc/html/search/groups_2.html | 36 + doc/html/search/groups_2.js | 4 + doc/html/search/mag_sel.png | Bin 0 -> 465 bytes doc/html/search/nomatches.html | 12 + doc/html/search/pages_0.html | 36 + doc/html/search/pages_0.js | 4 + doc/html/search/search.css | 271 ++ doc/html/search/search.js | 814 ++++++ doc/html/search/search_l.png | Bin 0 -> 567 bytes doc/html/search/search_m.png | Bin 0 -> 158 bytes doc/html/search/search_r.png | Bin 0 -> 553 bytes doc/html/search/searchdata.js | 21 + doc/html/splitbar.png | Bin 0 -> 314 bytes doc/html/sync_off.png | Bin 0 -> 853 bytes doc/html/sync_on.png | Bin 0 -> 845 bytes doc/html/tab_a.png | Bin 0 -> 142 bytes doc/html/tab_b.png | Bin 0 -> 169 bytes doc/html/tab_h.png | Bin 0 -> 177 bytes doc/html/tab_s.png | Bin 0 -> 184 bytes doc/html/tabs.css | 1 + doc/html/usart_8h_source.html | 98 + 76 files changed, 7452 insertions(+), 4 deletions(-) create mode 100644 doc/Doxyfile create mode 100644 doc/README.md create mode 100644 doc/html/adc_8h_source.html create mode 100644 doc/html/bc_s.png create mode 100644 doc/html/bdwn.png create mode 100644 doc/html/closed.png create mode 100644 doc/html/dir_0f6596954b0a144a48388b62e36891fc.html create mode 100644 doc/html/dir_52db8e13f8da7006efa1cfb4edb17b10.html create mode 100644 doc/html/dir_7149141a7e3af1ee95dfb0598e371427.html create mode 100644 doc/html/dir_dbd1fcc5b855ac2512d73485bf426013.html create mode 100644 doc/html/dir_fa9696292446b43152ca7e4058c81b2a.html create mode 100644 doc/html/doc.png create mode 100644 doc/html/doxygen.css create mode 100644 doc/html/doxygen.png create mode 100644 doc/html/dynsections.js create mode 100644 doc/html/files.html create mode 100644 doc/html/folderclosed.png create mode 100644 doc/html/folderopen.png create mode 100644 doc/html/group__group1.html create mode 100644 doc/html/group__group2.html create mode 100644 doc/html/group__group3.html create mode 100644 doc/html/index.html create mode 100644 doc/html/jquery.js create mode 100644 doc/html/menu.js create mode 100644 doc/html/menudata.js create mode 100644 doc/html/modules.html create mode 100644 doc/html/mpx5100_8h_source.html create mode 100644 doc/html/nav_f.png create mode 100644 doc/html/nav_g.png create mode 100644 doc/html/nav_h.png create mode 100644 doc/html/open.png create mode 100644 doc/html/search/all_0.html create mode 100644 doc/html/search/all_0.js create mode 100644 doc/html/search/all_1.html create mode 100644 doc/html/search/all_1.js create mode 100644 doc/html/search/all_2.html create mode 100644 doc/html/search/all_2.js create mode 100644 doc/html/search/all_3.html create mode 100644 doc/html/search/all_3.js create mode 100644 doc/html/search/all_4.html create mode 100644 doc/html/search/all_4.js create mode 100644 doc/html/search/close.png create mode 100644 doc/html/search/functions_0.html create mode 100644 doc/html/search/functions_0.js create mode 100644 doc/html/search/functions_1.html create mode 100644 doc/html/search/functions_1.js create mode 100644 doc/html/search/functions_2.html create mode 100644 doc/html/search/functions_2.js create mode 100644 doc/html/search/groups_0.html create mode 100644 doc/html/search/groups_0.js create mode 100644 doc/html/search/groups_1.html create mode 100644 doc/html/search/groups_1.js create mode 100644 doc/html/search/groups_2.html create mode 100644 doc/html/search/groups_2.js create mode 100644 doc/html/search/mag_sel.png create mode 100644 doc/html/search/nomatches.html create mode 100644 doc/html/search/pages_0.html create mode 100644 doc/html/search/pages_0.js create mode 100644 doc/html/search/search.css create mode 100644 doc/html/search/search.js create mode 100644 doc/html/search/search_l.png create mode 100644 doc/html/search/search_m.png create mode 100644 doc/html/search/search_r.png create mode 100644 doc/html/search/searchdata.js create mode 100644 doc/html/splitbar.png create mode 100644 doc/html/sync_off.png create mode 100644 doc/html/sync_on.png create mode 100644 doc/html/tab_a.png create mode 100644 doc/html/tab_b.png create mode 100644 doc/html/tab_h.png create mode 100644 doc/html/tab_s.png create mode 100644 doc/html/tabs.css create mode 100644 doc/html/usart_8h_source.html diff --git a/board/adc/adc.c b/board/adc/adc.c index 14e5527..decb9b5 100644 --- a/board/adc/adc.c +++ b/board/adc/adc.c @@ -1,12 +1,23 @@ #include "../driver/adc.h" + + + +/** @defgroup group1 TinyADC Library + * This is a minimal ADC Library with init and read functions only. + * @{ + */ + +/** @brief class C1 in group 1 */ + void adcInit(void) { - /* Enable ADC */ + /// Enables ADC. ADCSRA = (1 << ADEN) | (1 << ADSC); } float adcRead(void) { - float sum = 0; + /// Returns calibrated adc values. + float sum = 0; // Sum of averaged adc values int adc_values_arr[N]; for (int i = 0; i < N; i++) { while(ADCSRA & (1 << ADSC)); diff --git a/board/mpx5100/mpx5100.c b/board/mpx5100/mpx5100.c index 751bfd2..8448f77 100644 --- a/board/mpx5100/mpx5100.c +++ b/board/mpx5100/mpx5100.c @@ -1,7 +1,17 @@ #include "../driver/adc.h" + +/** @defgroup group2 MPX5100 Library + * This is library interfaces with the mpx5100. + * @{ + */ + +/** This function return the sensor reading in Pascals. */ void getPascal(void) { adc_val = adcRead(); pascal = ((adc_val / 1023.0) * MAX_PRESSURE) * 1000.0; printf("%.2f Pa\n" pascal); + _delay_ms(250); } + +/** @} */ // end of group2 diff --git a/board/usart/usart.c b/board/usart/usart.c index e7aa912..7dd56a1 100644 --- a/board/usart/usart.c +++ b/board/usart/usart.c @@ -1,5 +1,11 @@ #include "../driver/usart.h" +/** @defgroup group3 USART Library + * This library contains all the neccessary code for serial transmission. + * @{ + */ + +/** This function enables the receiver and tranmitter.*/ void usartInit(unsigned int ubrr) { /* Set baud rate */ UBRR0H = (unsigned char)(ubrr >> 8); @@ -11,7 +17,7 @@ void usartInit(unsigned int ubrr) { UCSR0A = (1 << U2X0); // Double the USART Transmission Speed } - +/** This function transmit data on the TX pin.*/ void usartTransmit(unsigned char data) { /* Wait for empty transmit buffer */ while(!(UCSR0A & (1 << UDRE0))); @@ -19,7 +25,7 @@ void usartTransmit(unsigned char data) { UDR0 = data; } - +/** This function receives data from the RX pin.*/ unsigned char usartReceive(void) { /* Wait for data to be received */ while(!(UCSR0A & (1 << RXC0))); diff --git a/doc/Doxyfile b/doc/Doxyfile new file mode 100644 index 0000000..8ebb83a --- /dev/null +++ b/doc/Doxyfile @@ -0,0 +1,2506 @@ +# Doxyfile 1.8.18 + +# This file describes the settings to be used by the documentation system +# doxygen (www.doxygen.org) for a project. +# +# All text after a double hash (##) is considered a comment and is placed in +# front of the TAG it is preceding. +# +# All text after a single hash (#) is considered a comment and will be ignored. +# The format is: +# TAG = value [value, ...] +# For lists, items can also be appended using: +# TAG += value [value, ...] +# Values that contain spaces should be placed between quotes (\" \"). + +#--------------------------------------------------------------------------- +# Project related configuration options +#--------------------------------------------------------------------------- + +# This tag specifies the encoding used for all characters in the configuration +# file that follow. The default is UTF-8 which is also the encoding used for all +# text before the first occurrence of this tag. Doxygen uses libiconv (or the +# iconv built into libc) for the transcoding. See +# https://www.gnu.org/software/libiconv/ for the list of possible encodings. +# The default value is: UTF-8. + +DOXYFILE_ENCODING = UTF-8 + +# The PROJECT_NAME tag is a single word (or a sequence of words surrounded by +# double-quotes, unless you are using Doxywizard) that should identify the +# project for which the documentation is generated. This name is used in the +# title of most generated pages and in a few other places. +# The default value is: My Project. + +PROJECT_NAME = "PanFLUte" + +# The PROJECT_NUMBER tag can be used to enter a project or revision number. This +# could be handy for archiving the generated documentation or if some version +# control system is used. + +PROJECT_NUMBER = + +# Using the PROJECT_BRIEF tag one can provide an optional one line description +# for a project that appears at the top of each page and should give viewer a +# quick idea about the purpose of the project. Keep the description short. + +PROJECT_BRIEF = + +# With the PROJECT_LOGO tag one can specify a logo or an icon that is included +# in the documentation. The maximum height of the logo should not exceed 55 +# pixels and the maximum width should not exceed 200 pixels. Doxygen will copy +# the logo to the output directory. + +PROJECT_LOGO = + +# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path +# into which the generated documentation will be written. If a relative path is +# entered, it will be relative to the location where doxygen was started. If +# left blank the current directory will be used. + +OUTPUT_DIRECTORY = + +# If the CREATE_SUBDIRS tag is set to YES then doxygen will create 4096 sub- +# directories (in 2 levels) under the output directory of each output format and +# will distribute the generated files over these directories. Enabling this +# option can be useful when feeding doxygen a huge amount of source files, where +# putting all generated files in the same directory would otherwise causes +# performance problems for the file system. +# The default value is: NO. + +CREATE_SUBDIRS = NO + +# If the ALLOW_UNICODE_NAMES tag is set to YES, doxygen will allow non-ASCII +# characters to appear in the names of generated files. If set to NO, non-ASCII +# characters will be escaped, for example _xE3_x81_x84 will be used for Unicode +# U+3044. +# The default value is: NO. + +ALLOW_UNICODE_NAMES = NO + +# The OUTPUT_LANGUAGE tag is used to specify the language in which all +# documentation generated by doxygen is written. Doxygen will use this +# information to generate all constant output in the proper language. +# Possible values are: Afrikaans, Arabic, Armenian, Brazilian, Catalan, Chinese, +# Chinese-Traditional, Croatian, Czech, Danish, Dutch, English (United States), +# Esperanto, Farsi (Persian), Finnish, French, German, Greek, Hungarian, +# Indonesian, Italian, Japanese, Japanese-en (Japanese with English messages), +# Korean, Korean-en (Korean with English messages), Latvian, Lithuanian, +# Macedonian, Norwegian, Persian (Farsi), Polish, Portuguese, Romanian, Russian, +# Serbian, Serbian-Cyrillic, Slovak, Slovene, Spanish, Swedish, Turkish, +# Ukrainian and Vietnamese. +# The default value is: English. + +OUTPUT_LANGUAGE = English + +# The OUTPUT_TEXT_DIRECTION tag is used to specify the direction in which all +# documentation generated by doxygen is written. Doxygen will use this +# information to generate all generated output in the proper direction. +# Possible values are: None, LTR, RTL and Context. +# The default value is: None. + +OUTPUT_TEXT_DIRECTION = None + +# If the BRIEF_MEMBER_DESC tag is set to YES, doxygen will include brief member +# descriptions after the members that are listed in the file and class +# documentation (similar to Javadoc). Set to NO to disable this. +# The default value is: YES. + +BRIEF_MEMBER_DESC = YES + +# If the REPEAT_BRIEF tag is set to YES, doxygen will prepend the brief +# description of a member or function before the detailed description +# +# Note: If both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the +# brief descriptions will be completely suppressed. +# The default value is: YES. + +REPEAT_BRIEF = YES + +# This tag implements a quasi-intelligent brief description abbreviator that is +# used to form the text in various listings. Each string in this list, if found +# as the leading text of the brief description, will be stripped from the text +# and the result, after processing the whole list, is used as the annotated +# text. Otherwise, the brief description is used as-is. If left blank, the +# following values are used ($name is automatically replaced with the name of +# the entity):The $name class, The $name widget, The $name file, is, provides, +# specifies, contains, represents, a, an and the. + +ABBREVIATE_BRIEF = "The $name class" \ + "The $name widget" \ + "The $name file" \ + is \ + provides \ + specifies \ + contains \ + represents \ + a \ + an \ + the + +# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then +# doxygen will generate a detailed section even if there is only a brief +# description. +# The default value is: NO. + +ALWAYS_DETAILED_SEC = NO + +# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all +# inherited members of a class in the documentation of that class as if those +# members were ordinary class members. Constructors, destructors and assignment +# operators of the base classes will not be shown. +# The default value is: NO. + +INLINE_INHERITED_MEMB = NO + +# If the FULL_PATH_NAMES tag is set to YES, doxygen will prepend the full path +# before files name in the file list and in the header files. If set to NO the +# shortest path that makes the file name unique will be used +# The default value is: YES. + +FULL_PATH_NAMES = YES + +# The STRIP_FROM_PATH tag can be used to strip a user-defined part of the path. +# Stripping is only done if one of the specified strings matches the left-hand +# part of the path. The tag can be used to show relative paths in the file list. +# If left blank the directory from which doxygen is run is used as the path to +# strip. +# +# Note that you can specify absolute paths here, but also relative paths, which +# will be relative from the directory where doxygen is started. +# This tag requires that the tag FULL_PATH_NAMES is set to YES. + +STRIP_FROM_PATH = + +# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of the +# path mentioned in the documentation of a class, which tells the reader which +# header file to include in order to use a class. If left blank only the name of +# the header file containing the class definition is used. Otherwise one should +# specify the list of include paths that are normally passed to the compiler +# using the -I flag. + +STRIP_FROM_INC_PATH = + +# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter (but +# less readable) file names. This can be useful is your file systems doesn't +# support long names like on DOS, Mac, or CD-ROM. +# The default value is: NO. + +SHORT_NAMES = NO + +# If the JAVADOC_AUTOBRIEF tag is set to YES then doxygen will interpret the +# first line (until the first dot) of a Javadoc-style comment as the brief +# description. If set to NO, the Javadoc-style will behave just like regular Qt- +# style comments (thus requiring an explicit @brief command for a brief +# description.) +# The default value is: NO. + +JAVADOC_AUTOBRIEF = NO + +# If the JAVADOC_BANNER tag is set to YES then doxygen will interpret a line +# such as +# /*************** +# as being the beginning of a Javadoc-style comment "banner". If set to NO, the +# Javadoc-style will behave just like regular comments and it will not be +# interpreted by doxygen. +# The default value is: NO. + +JAVADOC_BANNER = NO + +# If the QT_AUTOBRIEF tag is set to YES then doxygen will interpret the first +# line (until the first dot) of a Qt-style comment as the brief description. If +# set to NO, the Qt-style will behave just like regular Qt-style comments (thus +# requiring an explicit \brief command for a brief description.) +# The default value is: NO. + +QT_AUTOBRIEF = NO + +# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make doxygen treat a +# multi-line C++ special comment block (i.e. a block of //! or /// comments) as +# a brief description. This used to be the default behavior. The new default is +# to treat a multi-line C++ comment block as a detailed description. Set this +# tag to YES if you prefer the old behavior instead. +# +# Note that setting this tag to YES also means that rational rose comments are +# not recognized any more. +# The default value is: NO. + +MULTILINE_CPP_IS_BRIEF = NO + +# If the INHERIT_DOCS tag is set to YES then an undocumented member inherits the +# documentation from any documented member that it re-implements. +# The default value is: YES. + +INHERIT_DOCS = YES + +# If the SEPARATE_MEMBER_PAGES tag is set to YES then doxygen will produce a new +# page for each member. If set to NO, the documentation of a member will be part +# of the file/class/namespace that contains it. +# The default value is: NO. + +SEPARATE_MEMBER_PAGES = NO + +# The TAB_SIZE tag can be used to set the number of spaces in a tab. Doxygen +# uses this value to replace tabs by spaces in code fragments. +# Minimum value: 1, maximum value: 16, default value: 4. + +TAB_SIZE = 4 + +# This tag can be used to specify a number of aliases that act as commands in +# the documentation. An alias has the form: +# name=value +# For example adding +# "sideeffect=@par Side Effects:\n" +# will allow you to put the command \sideeffect (or @sideeffect) in the +# documentation, which will result in a user-defined paragraph with heading +# "Side Effects:". You can put \n's in the value part of an alias to insert +# newlines (in the resulting output). You can put ^^ in the value part of an +# alias to insert a newline as if a physical newline was in the original file. +# When you need a literal { or } or , in the value part of an alias you have to +# escape them by means of a backslash (\), this can lead to conflicts with the +# commands \{ and \} for these it is advised to use the version @{ and @} or use +# a double escape (\\{ and \\}) + +ALIASES = + +# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C sources +# only. Doxygen will then generate output that is more tailored for C. For +# instance, some of the names that are used will be different. The list of all +# members will be omitted, etc. +# The default value is: NO. + +OPTIMIZE_OUTPUT_FOR_C = NO + +# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java or +# Python sources only. Doxygen will then generate output that is more tailored +# for that language. For instance, namespaces will be presented as packages, +# qualified scopes will look different, etc. +# The default value is: NO. + +OPTIMIZE_OUTPUT_JAVA = NO + +# Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran +# sources. Doxygen will then generate output that is tailored for Fortran. +# The default value is: NO. + +OPTIMIZE_FOR_FORTRAN = NO + +# Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL +# sources. Doxygen will then generate output that is tailored for VHDL. +# The default value is: NO. + +OPTIMIZE_OUTPUT_VHDL = NO + +# Set the OPTIMIZE_OUTPUT_SLICE tag to YES if your project consists of Slice +# sources only. Doxygen will then generate output that is more tailored for that +# language. For instance, namespaces will be presented as modules, types will be +# separated into more groups, etc. +# The default value is: NO. + +OPTIMIZE_OUTPUT_SLICE = NO + +# Doxygen selects the parser to use depending on the extension of the files it +# parses. With this tag you can assign which parser to use for a given +# extension. Doxygen has a built-in mapping, but you can override or extend it +# using this tag. The format is ext=language, where ext is a file extension, and +# language is one of the parsers supported by doxygen: IDL, Java, JavaScript, +# Csharp (C#), C, C++, D, PHP, md (Markdown), Objective-C, Python, Slice, VHDL, +# Fortran (fixed format Fortran: FortranFixed, free formatted Fortran: +# FortranFree, unknown formatted Fortran: Fortran. In the later case the parser +# tries to guess whether the code is fixed or free formatted code, this is the +# default for Fortran type files). For instance to make doxygen treat .inc files +# as Fortran files (default is PHP), and .f files as C (default is Fortran), +# use: inc=Fortran f=C. +# +# Note: For files without extension you can use no_extension as a placeholder. +# +# Note that for custom extensions you also need to set FILE_PATTERNS otherwise +# the files are not read by doxygen. + +EXTENSION_MAPPING = + +# If the MARKDOWN_SUPPORT tag is enabled then doxygen pre-processes all comments +# according to the Markdown format, which allows for more readable +# documentation. See https://daringfireball.net/projects/markdown/ for details. +# The output of markdown processing is further processed by doxygen, so you can +# mix doxygen, HTML, and XML commands with Markdown formatting. Disable only in +# case of backward compatibilities issues. +# The default value is: YES. + +MARKDOWN_SUPPORT = YES + +# When the TOC_INCLUDE_HEADINGS tag is set to a non-zero value, all headings up +# to that level are automatically included in the table of contents, even if +# they do not have an id attribute. +# Note: This feature currently applies only to Markdown headings. +# Minimum value: 0, maximum value: 99, default value: 5. +# This tag requires that the tag MARKDOWN_SUPPORT is set to YES. + +TOC_INCLUDE_HEADINGS = 5 + +# When enabled doxygen tries to link words that correspond to documented +# classes, or namespaces to their corresponding documentation. Such a link can +# be prevented in individual cases by putting a % sign in front of the word or +# globally by setting AUTOLINK_SUPPORT to NO. +# The default value is: YES. + +AUTOLINK_SUPPORT = YES + +# If you use STL classes (i.e. std::string, std::vector, etc.) but do not want +# to include (a tag file for) the STL sources as input, then you should set this +# tag to YES in order to let doxygen match functions declarations and +# definitions whose arguments contain STL classes (e.g. func(std::string); +# versus func(std::string) {}). This also make the inheritance and collaboration +# diagrams that involve STL classes more complete and accurate. +# The default value is: NO. + +BUILTIN_STL_SUPPORT = NO + +# If you use Microsoft's C++/CLI language, you should set this option to YES to +# enable parsing support. +# The default value is: NO. + +CPP_CLI_SUPPORT = NO + +# Set the SIP_SUPPORT tag to YES if your project consists of sip (see: +# https://www.riverbankcomputing.com/software/sip/intro) sources only. Doxygen +# will parse them like normal C++ but will assume all classes use public instead +# of private inheritance when no explicit protection keyword is present. +# The default value is: NO. + +SIP_SUPPORT = NO + +# For Microsoft's IDL there are propget and propput attributes to indicate +# getter and setter methods for a property. Setting this option to YES will make +# doxygen to replace the get and set methods by a property in the documentation. +# This will only work if the methods are indeed getting or setting a simple +# type. If this is not the case, or you want to show the methods anyway, you +# should set this option to NO. +# The default value is: YES. + +IDL_PROPERTY_SUPPORT = YES + +# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC +# tag is set to YES then doxygen will reuse the documentation of the first +# member in the group (if any) for the other members of the group. By default +# all members of a group must be documented explicitly. +# The default value is: NO. + +DISTRIBUTE_GROUP_DOC = NO + +# If one adds a struct or class to a group and this option is enabled, then also +# any nested class or struct is added to the same group. By default this option +# is disabled and one has to add nested compounds explicitly via \ingroup. +# The default value is: NO. + +GROUP_NESTED_COMPOUNDS = NO + +# Set the SUBGROUPING tag to YES to allow class member groups of the same type +# (for instance a group of public functions) to be put as a subgroup of that +# type (e.g. under the Public Functions section). Set it to NO to prevent +# subgrouping. Alternatively, this can be done per class using the +# \nosubgrouping command. +# The default value is: YES. + +SUBGROUPING = YES + +# When the INLINE_GROUPED_CLASSES tag is set to YES, classes, structs and unions +# are shown inside the group in which they are included (e.g. using \ingroup) +# instead of on a separate page (for HTML and Man pages) or section (for LaTeX +# and RTF). +# +# Note that this feature does not work in combination with +# SEPARATE_MEMBER_PAGES. +# The default value is: NO. + +INLINE_GROUPED_CLASSES = NO + +# When the INLINE_SIMPLE_STRUCTS tag is set to YES, structs, classes, and unions +# with only public data fields or simple typedef fields will be shown inline in +# the documentation of the scope in which they are defined (i.e. file, +# namespace, or group documentation), provided this scope is documented. If set +# to NO, structs, classes, and unions are shown on a separate page (for HTML and +# Man pages) or section (for LaTeX and RTF). +# The default value is: NO. + +INLINE_SIMPLE_STRUCTS = NO + +# When TYPEDEF_HIDES_STRUCT tag is enabled, a typedef of a struct, union, or +# enum is documented as struct, union, or enum with the name of the typedef. So +# typedef struct TypeS {} TypeT, will appear in the documentation as a struct +# with name TypeT. When disabled the typedef will appear as a member of a file, +# namespace, or class. And the struct will be named TypeS. This can typically be +# useful for C code in case the coding convention dictates that all compound +# types are typedef'ed and only the typedef is referenced, never the tag name. +# The default value is: NO. + +TYPEDEF_HIDES_STRUCT = NO + +# The size of the symbol lookup cache can be set using LOOKUP_CACHE_SIZE. This +# cache is used to resolve symbols given their name and scope. Since this can be +# an expensive process and often the same symbol appears multiple times in the +# code, doxygen keeps a cache of pre-resolved symbols. If the cache is too small +# doxygen will become slower. If the cache is too large, memory is wasted. The +# cache size is given by this formula: 2^(16+LOOKUP_CACHE_SIZE). The valid range +# is 0..9, the default is 0, corresponding to a cache size of 2^16=65536 +# symbols. At the end of a run doxygen will report the cache usage and suggest +# the optimal cache size from a speed point of view. +# Minimum value: 0, maximum value: 9, default value: 0. + +LOOKUP_CACHE_SIZE = 0 + +#--------------------------------------------------------------------------- +# Build related configuration options +#--------------------------------------------------------------------------- + +# If the EXTRACT_ALL tag is set to YES, doxygen will assume all entities in +# documentation are documented, even if no documentation was available. Private +# class members and static file members will be hidden unless the +# EXTRACT_PRIVATE respectively EXTRACT_STATIC tags are set to YES. +# Note: This will also disable the warnings about undocumented members that are +# normally produced when WARNINGS is set to YES. +# The default value is: NO. + +EXTRACT_ALL = NO + +# If the EXTRACT_PRIVATE tag is set to YES, all private members of a class will +# be included in the documentation. +# The default value is: NO. + +EXTRACT_PRIVATE = NO + +# If the EXTRACT_PRIV_VIRTUAL tag is set to YES, documented private virtual +# methods of a class will be included in the documentation. +# The default value is: NO. + +EXTRACT_PRIV_VIRTUAL = NO + +# If the EXTRACT_PACKAGE tag is set to YES, all members with package or internal +# scope will be included in the documentation. +# The default value is: NO. + +EXTRACT_PACKAGE = NO + +# If the EXTRACT_STATIC tag is set to YES, all static members of a file will be +# included in the documentation. +# The default value is: NO. + +EXTRACT_STATIC = NO + +# If the EXTRACT_LOCAL_CLASSES tag is set to YES, classes (and structs) defined +# locally in source files will be included in the documentation. If set to NO, +# only classes defined in header files are included. Does not have any effect +# for Java sources. +# The default value is: YES. + +EXTRACT_LOCAL_CLASSES = YES + +# This flag is only useful for Objective-C code. If set to YES, local methods, +# which are defined in the implementation section but not in the interface are +# included in the documentation. If set to NO, only methods in the interface are +# included. +# The default value is: NO. + +EXTRACT_LOCAL_METHODS = NO + +# If this flag is set to YES, the members of anonymous namespaces will be +# extracted and appear in the documentation as a namespace called +# 'anonymous_namespace{file}', where file will be replaced with the base name of +# the file that contains the anonymous namespace. By default anonymous namespace +# are hidden. +# The default value is: NO. + +EXTRACT_ANON_NSPACES = NO + +# If the HIDE_UNDOC_MEMBERS tag is set to YES, doxygen will hide all +# undocumented members inside documented classes or files. If set to NO these +# members will be included in the various overviews, but no documentation +# section is generated. This option has no effect if EXTRACT_ALL is enabled. +# The default value is: NO. + +HIDE_UNDOC_MEMBERS = NO + +# If the HIDE_UNDOC_CLASSES tag is set to YES, doxygen will hide all +# undocumented classes that are normally visible in the class hierarchy. If set +# to NO, these classes will be included in the various overviews. This option +# has no effect if EXTRACT_ALL is enabled. +# The default value is: NO. + +HIDE_UNDOC_CLASSES = NO + +# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, doxygen will hide all friend +# declarations. If set to NO, these declarations will be included in the +# documentation. +# The default value is: NO. + +HIDE_FRIEND_COMPOUNDS = NO + +# If the HIDE_IN_BODY_DOCS tag is set to YES, doxygen will hide any +# documentation blocks found inside the body of a function. If set to NO, these +# blocks will be appended to the function's detailed documentation block. +# The default value is: NO. + +HIDE_IN_BODY_DOCS = NO + +# The INTERNAL_DOCS tag determines if documentation that is typed after a +# \internal command is included. If the tag is set to NO then the documentation +# will be excluded. Set it to YES to include the internal documentation. +# The default value is: NO. + +INTERNAL_DOCS = NO + +# If the CASE_SENSE_NAMES tag is set to NO then doxygen will only generate file +# names in lower-case letters. If set to YES, upper-case letters are also +# allowed. This is useful if you have classes or files whose names only differ +# in case and if your file system supports case sensitive file names. Windows +# (including Cygwin) ands Mac users are advised to set this option to NO. +# The default value is: system dependent. + +CASE_SENSE_NAMES = NO + +# If the HIDE_SCOPE_NAMES tag is set to NO then doxygen will show members with +# their full class and namespace scopes in the documentation. If set to YES, the +# scope will be hidden. +# The default value is: NO. + +HIDE_SCOPE_NAMES = NO + +# If the HIDE_COMPOUND_REFERENCE tag is set to NO (default) then doxygen will +# append additional text to a page's title, such as Class Reference. If set to +# YES the compound reference will be hidden. +# The default value is: NO. + +HIDE_COMPOUND_REFERENCE= NO + +# If the SHOW_INCLUDE_FILES tag is set to YES then doxygen will put a list of +# the files that are included by a file in the documentation of that file. +# The default value is: YES. + +SHOW_INCLUDE_FILES = YES + +# If the SHOW_GROUPED_MEMB_INC tag is set to YES then Doxygen will add for each +# grouped member an include statement to the documentation, telling the reader +# which file to include in order to use the member. +# The default value is: NO. + +SHOW_GROUPED_MEMB_INC = NO + +# If the FORCE_LOCAL_INCLUDES tag is set to YES then doxygen will list include +# files with double quotes in the documentation rather than with sharp brackets. +# The default value is: NO. + +FORCE_LOCAL_INCLUDES = NO + +# If the INLINE_INFO tag is set to YES then a tag [inline] is inserted in the +# documentation for inline members. +# The default value is: YES. + +INLINE_INFO = YES + +# If the SORT_MEMBER_DOCS tag is set to YES then doxygen will sort the +# (detailed) documentation of file and class members alphabetically by member +# name. If set to NO, the members will appear in declaration order. +# The default value is: YES. + +SORT_MEMBER_DOCS = YES + +# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the brief +# descriptions of file, namespace and class members alphabetically by member +# name. If set to NO, the members will appear in declaration order. Note that +# this will also influence the order of the classes in the class list. +# The default value is: NO. + +SORT_BRIEF_DOCS = NO + +# If the SORT_MEMBERS_CTORS_1ST tag is set to YES then doxygen will sort the +# (brief and detailed) documentation of class members so that constructors and +# destructors are listed first. If set to NO the constructors will appear in the +# respective orders defined by SORT_BRIEF_DOCS and SORT_MEMBER_DOCS. +# Note: If SORT_BRIEF_DOCS is set to NO this option is ignored for sorting brief +# member documentation. +# Note: If SORT_MEMBER_DOCS is set to NO this option is ignored for sorting +# detailed member documentation. +# The default value is: NO. + +SORT_MEMBERS_CTORS_1ST = NO + +# If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the hierarchy +# of group names into alphabetical order. If set to NO the group names will +# appear in their defined order. +# The default value is: NO. + +SORT_GROUP_NAMES = NO + +# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be sorted by +# fully-qualified names, including namespaces. If set to NO, the class list will +# be sorted only by class name, not including the namespace part. +# Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES. +# Note: This option applies only to the class list, not to the alphabetical +# list. +# The default value is: NO. + +SORT_BY_SCOPE_NAME = NO + +# If the STRICT_PROTO_MATCHING option is enabled and doxygen fails to do proper +# type resolution of all parameters of a function it will reject a match between +# the prototype and the implementation of a member function even if there is +# only one candidate or it is obvious which candidate to choose by doing a +# simple string match. By disabling STRICT_PROTO_MATCHING doxygen will still +# accept a match between prototype and implementation in such cases. +# The default value is: NO. + +STRICT_PROTO_MATCHING = NO + +# The GENERATE_TODOLIST tag can be used to enable (YES) or disable (NO) the todo +# list. This list is created by putting \todo commands in the documentation. +# The default value is: YES. + +GENERATE_TODOLIST = YES + +# The GENERATE_TESTLIST tag can be used to enable (YES) or disable (NO) the test +# list. This list is created by putting \test commands in the documentation. +# The default value is: YES. + +GENERATE_TESTLIST = YES + +# The GENERATE_BUGLIST tag can be used to enable (YES) or disable (NO) the bug +# list. This list is created by putting \bug commands in the documentation. +# The default value is: YES. + +GENERATE_BUGLIST = YES + +# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or disable (NO) +# the deprecated list. This list is created by putting \deprecated commands in +# the documentation. +# The default value is: YES. + +GENERATE_DEPRECATEDLIST= YES + +# The ENABLED_SECTIONS tag can be used to enable conditional documentation +# sections, marked by \if ... \endif and \cond +# ... \endcond blocks. + +ENABLED_SECTIONS = + +# The MAX_INITIALIZER_LINES tag determines the maximum number of lines that the +# initial value of a variable or macro / define can have for it to appear in the +# documentation. If the initializer consists of more lines than specified here +# it will be hidden. Use a value of 0 to hide initializers completely. The +# appearance of the value of individual variables and macros / defines can be +# controlled using \showinitializer or \hideinitializer command in the +# documentation regardless of this setting. +# Minimum value: 0, maximum value: 10000, default value: 30. + +MAX_INITIALIZER_LINES = 30 + +# Set the SHOW_USED_FILES tag to NO to disable the list of files generated at +# the bottom of the documentation of classes and structs. If set to YES, the +# list will mention the files that were used to generate the documentation. +# The default value is: YES. + +SHOW_USED_FILES = YES + +# Set the SHOW_FILES tag to NO to disable the generation of the Files page. This +# will remove the Files entry from the Quick Index and from the Folder Tree View +# (if specified). +# The default value is: YES. + +SHOW_FILES = YES + +# Set the SHOW_NAMESPACES tag to NO to disable the generation of the Namespaces +# page. This will remove the Namespaces entry from the Quick Index and from the +# Folder Tree View (if specified). +# The default value is: YES. + +SHOW_NAMESPACES = YES + +# The FILE_VERSION_FILTER tag can be used to specify a program or script that +# doxygen should invoke to get the current version for each file (typically from +# the version control system). Doxygen will invoke the program by executing (via +# popen()) the command command input-file, where command is the value of the +# FILE_VERSION_FILTER tag, and input-file is the name of an input file provided +# by doxygen. Whatever the program writes to standard output is used as the file +# version. For an example see the documentation. + +FILE_VERSION_FILTER = + +# The LAYOUT_FILE tag can be used to specify a layout file which will be parsed +# by doxygen. The layout file controls the global structure of the generated +# output files in an output format independent way. To create the layout file +# that represents doxygen's defaults, run doxygen with the -l option. You can +# optionally specify a file name after the option, if omitted DoxygenLayout.xml +# will be used as the name of the layout file. +# +# Note that if you run doxygen from a directory containing a file called +# DoxygenLayout.xml, doxygen will parse it automatically even if the LAYOUT_FILE +# tag is left empty. + +LAYOUT_FILE = + +# The CITE_BIB_FILES tag can be used to specify one or more bib files containing +# the reference definitions. This must be a list of .bib files. The .bib +# extension is automatically appended if omitted. This requires the bibtex tool +# to be installed. See also https://en.wikipedia.org/wiki/BibTeX for more info. +# For LaTeX the style of the bibliography can be controlled using +# LATEX_BIB_STYLE. To use this feature you need bibtex and perl available in the +# search path. See also \cite for info how to create references. + +CITE_BIB_FILES = + +#--------------------------------------------------------------------------- +# Configuration options related to warning and progress messages +#--------------------------------------------------------------------------- + +# The QUIET tag can be used to turn on/off the messages that are generated to +# standard output by doxygen. If QUIET is set to YES this implies that the +# messages are off. +# The default value is: NO. + +QUIET = NO + +# The WARNINGS tag can be used to turn on/off the warning messages that are +# generated to standard error (stderr) by doxygen. If WARNINGS is set to YES +# this implies that the warnings are on. +# +# Tip: Turn warnings on while writing the documentation. +# The default value is: YES. + +WARNINGS = YES + +# If the WARN_IF_UNDOCUMENTED tag is set to YES then doxygen will generate +# warnings for undocumented members. If EXTRACT_ALL is set to YES then this flag +# will automatically be disabled. +# The default value is: YES. + +WARN_IF_UNDOCUMENTED = YES + +# If the WARN_IF_DOC_ERROR tag is set to YES, doxygen will generate warnings for +# potential errors in the documentation, such as not documenting some parameters +# in a documented function, or documenting parameters that don't exist or using +# markup commands wrongly. +# The default value is: YES. + +WARN_IF_DOC_ERROR = YES + +# This WARN_NO_PARAMDOC option can be enabled to get warnings for functions that +# are documented, but have no documentation for their parameters or return +# value. If set to NO, doxygen will only warn about wrong or incomplete +# parameter documentation, but not about the absence of documentation. If +# EXTRACT_ALL is set to YES then this flag will automatically be disabled. +# The default value is: NO. + +WARN_NO_PARAMDOC = NO + +# If the WARN_AS_ERROR tag is set to YES then doxygen will immediately stop when +# a warning is encountered. +# The default value is: NO. + +WARN_AS_ERROR = NO + +# The WARN_FORMAT tag determines the format of the warning messages that doxygen +# can produce. The string should contain the $file, $line, and $text tags, which +# will be replaced by the file and line number from which the warning originated +# and the warning text. Optionally the format may contain $version, which will +# be replaced by the version of the file (if it could be obtained via +# FILE_VERSION_FILTER) +# The default value is: $file:$line: $text. + +WARN_FORMAT = "$file:$line: $text" + +# The WARN_LOGFILE tag can be used to specify a file to which warning and error +# messages should be written. If left blank the output is written to standard +# error (stderr). + +WARN_LOGFILE = + +#--------------------------------------------------------------------------- +# Configuration options related to the input files +#--------------------------------------------------------------------------- + +# The INPUT tag is used to specify the files and/or directories that contain +# documented source files. You may enter file names like myfile.cpp or +# directories like /usr/src/myproject. Separate the files or directories with +# spaces. See also FILE_PATTERNS and EXTENSION_MAPPING +# Note: If this tag is empty the current directory is searched. + +INPUT = README.md ../board/adc ../board/mpx5100 ../board/usart ../board/driver + +# This tag can be used to specify the character encoding of the source files +# that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses +# libiconv (or the iconv built into libc) for the transcoding. See the libiconv +# documentation (see: https://www.gnu.org/software/libiconv/) for the list of +# possible encodings. +# The default value is: UTF-8. + +INPUT_ENCODING = UTF-8 + +# If the value of the INPUT tag contains directories, you can use the +# FILE_PATTERNS tag to specify one or more wildcard patterns (like *.cpp and +# *.h) to filter out the source-files in the directories. +# +# Note that for custom extensions or not directly supported extensions you also +# need to set EXTENSION_MAPPING for the extension otherwise the files are not +# read by doxygen. +# +# If left blank the following patterns are tested:*.c, *.cc, *.cxx, *.cpp, +# *.c++, *.java, *.ii, *.ixx, *.ipp, *.i++, *.inl, *.idl, *.ddl, *.odl, *.h, +# *.hh, *.hxx, *.hpp, *.h++, *.cs, *.d, *.php, *.php4, *.php5, *.phtml, *.inc, +# *.m, *.markdown, *.md, *.mm, *.dox (to be provided as doxygen C comment), +# *.doc (to be provided as doxygen C comment), *.txt (to be provided as doxygen +# C comment), *.py, *.pyw, *.f90, *.f95, *.f03, *.f08, *.f18, *.f, *.for, *.vhd, +# *.vhdl, *.ucf, *.qsf and *.ice. + +FILE_PATTERNS = *.c *.h +# The RECURSIVE tag can be used to specify whether or not subdirectories should +# be searched for input files as well. +# The default value is: NO. + +RECURSIVE = NO + +# The EXCLUDE tag can be used to specify files and/or directories that should be +# excluded from the INPUT source files. This way you can easily exclude a +# subdirectory from a directory tree whose root is specified with the INPUT tag. +# +# Note that relative paths are relative to the directory from which doxygen is +# run. + +EXCLUDE = + +# The EXCLUDE_SYMLINKS tag can be used to select whether or not files or +# directories that are symbolic links (a Unix file system feature) are excluded +# from the input. +# The default value is: NO. + +EXCLUDE_SYMLINKS = NO + +# If the value of the INPUT tag contains directories, you can use the +# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude +# certain files from those directories. +# +# Note that the wildcards are matched against the file with absolute path, so to +# exclude all test directories for example use the pattern */test/* + +EXCLUDE_PATTERNS = + +# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names +# (namespaces, classes, functions, etc.) that should be excluded from the +# output. The symbol name can be a fully qualified name, a word, or if the +# wildcard * is used, a substring. Examples: ANamespace, AClass, +# AClass::ANamespace, ANamespace::*Test +# +# Note that the wildcards are matched against the file with absolute path, so to +# exclude all test directories use the pattern */test/* + +EXCLUDE_SYMBOLS = + +# The EXAMPLE_PATH tag can be used to specify one or more files or directories +# that contain example code fragments that are included (see the \include +# command). + +EXAMPLE_PATH = + +# If the value of the EXAMPLE_PATH tag contains directories, you can use the +# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp and +# *.h) to filter out the source-files in the directories. If left blank all +# files are included. + +EXAMPLE_PATTERNS = * + +# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be +# searched for input files to be used with the \include or \dontinclude commands +# irrespective of the value of the RECURSIVE tag. +# The default value is: NO. + +EXAMPLE_RECURSIVE = NO + +# The IMAGE_PATH tag can be used to specify one or more files or directories +# that contain images that are to be included in the documentation (see the +# \image command). + +IMAGE_PATH = + +# The INPUT_FILTER tag can be used to specify a program that doxygen should +# invoke to filter for each input file. Doxygen will invoke the filter program +# by executing (via popen()) the command: +# +# +# +# where is the value of the INPUT_FILTER tag, and is the +# name of an input file. Doxygen will then use the output that the filter +# program writes to standard output. If FILTER_PATTERNS is specified, this tag +# will be ignored. +# +# Note that the filter must not add or remove lines; it is applied before the +# code is scanned, but not when the output code is generated. If lines are added +# or removed, the anchors will not be placed correctly. +# +# Note that for custom extensions or not directly supported extensions you also +# need to set EXTENSION_MAPPING for the extension otherwise the files are not +# properly processed by doxygen. + +INPUT_FILTER = + +# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern +# basis. Doxygen will compare the file name with each pattern and apply the +# filter if there is a match. The filters are a list of the form: pattern=filter +# (like *.cpp=my_cpp_filter). See INPUT_FILTER for further information on how +# filters are used. If the FILTER_PATTERNS tag is empty or if none of the +# patterns match the file name, INPUT_FILTER is applied. +# +# Note that for custom extensions or not directly supported extensions you also +# need to set EXTENSION_MAPPING for the extension otherwise the files are not +# properly processed by doxygen. + +FILTER_PATTERNS = + +# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using +# INPUT_FILTER) will also be used to filter the input files that are used for +# producing the source files to browse (i.e. when SOURCE_BROWSER is set to YES). +# The default value is: NO. + +FILTER_SOURCE_FILES = NO + +# The FILTER_SOURCE_PATTERNS tag can be used to specify source filters per file +# pattern. A pattern will override the setting for FILTER_PATTERN (if any) and +# it is also possible to disable source filtering for a specific pattern using +# *.ext= (so without naming a filter). +# This tag requires that the tag FILTER_SOURCE_FILES is set to YES. + +FILTER_SOURCE_PATTERNS = + +# If the USE_MDFILE_AS_MAINPAGE tag refers to the name of a markdown file that +# is part of the input, its contents will be placed on the main page +# (index.html). This can be useful if you have a project on for instance GitHub +# and want to reuse the introduction page also for the doxygen output. + +USE_MDFILE_AS_MAINPAGE = README.md + +#--------------------------------------------------------------------------- +# Configuration options related to source browsing +#--------------------------------------------------------------------------- + +# If the SOURCE_BROWSER tag is set to YES then a list of source files will be +# generated. Documented entities will be cross-referenced with these sources. +# +# Note: To get rid of all source code in the generated output, make sure that +# also VERBATIM_HEADERS is set to NO. +# The default value is: NO. + +SOURCE_BROWSER = NO + +# Setting the INLINE_SOURCES tag to YES will include the body of functions, +# classes and enums directly into the documentation. +# The default value is: NO. + +INLINE_SOURCES = NO + +# Setting the STRIP_CODE_COMMENTS tag to YES will instruct doxygen to hide any +# special comment blocks from generated source code fragments. Normal C, C++ and +# Fortran comments will always remain visible. +# The default value is: YES. + +STRIP_CODE_COMMENTS = YES + +# If the REFERENCED_BY_RELATION tag is set to YES then for each documented +# entity all documented functions referencing it will be listed. +# The default value is: NO. + +REFERENCED_BY_RELATION = NO + +# If the REFERENCES_RELATION tag is set to YES then for each documented function +# all documented entities called/used by that function will be listed. +# The default value is: NO. + +REFERENCES_RELATION = NO + +# If the REFERENCES_LINK_SOURCE tag is set to YES and SOURCE_BROWSER tag is set +# to YES then the hyperlinks from functions in REFERENCES_RELATION and +# REFERENCED_BY_RELATION lists will link to the source code. Otherwise they will +# link to the documentation. +# The default value is: YES. + +REFERENCES_LINK_SOURCE = YES + +# If SOURCE_TOOLTIPS is enabled (the default) then hovering a hyperlink in the +# source code will show a tooltip with additional information such as prototype, +# brief description and links to the definition and documentation. Since this +# will make the HTML file larger and loading of large files a bit slower, you +# can opt to disable this feature. +# The default value is: YES. +# This tag requires that the tag SOURCE_BROWSER is set to YES. + +SOURCE_TOOLTIPS = YES + +# If the USE_HTAGS tag is set to YES then the references to source code will +# point to the HTML generated by the htags(1) tool instead of doxygen built-in +# source browser. The htags tool is part of GNU's global source tagging system +# (see https://www.gnu.org/software/global/global.html). You will need version +# 4.8.6 or higher. +# +# To use it do the following: +# - Install the latest version of global +# - Enable SOURCE_BROWSER and USE_HTAGS in the configuration file +# - Make sure the INPUT points to the root of the source tree +# - Run doxygen as normal +# +# Doxygen will invoke htags (and that will in turn invoke gtags), so these +# tools must be available from the command line (i.e. in the search path). +# +# The result: instead of the source browser generated by doxygen, the links to +# source code will now point to the output of htags. +# The default value is: NO. +# This tag requires that the tag SOURCE_BROWSER is set to YES. + +USE_HTAGS = NO + +# If the VERBATIM_HEADERS tag is set the YES then doxygen will generate a +# verbatim copy of the header file for each class for which an include is +# specified. Set to NO to disable this. +# See also: Section \class. +# The default value is: YES. + +VERBATIM_HEADERS = YES + +#--------------------------------------------------------------------------- +# Configuration options related to the alphabetical class index +#--------------------------------------------------------------------------- + +# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index of all +# compounds will be generated. Enable this if the project contains a lot of +# classes, structs, unions or interfaces. +# The default value is: YES. + +ALPHABETICAL_INDEX = YES + +# The COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns in +# which the alphabetical index list will be split. +# Minimum value: 1, maximum value: 20, default value: 5. +# This tag requires that the tag ALPHABETICAL_INDEX is set to YES. + +COLS_IN_ALPHA_INDEX = 5 + +# In case all classes in a project start with a common prefix, all classes will +# be put under the same header in the alphabetical index. The IGNORE_PREFIX tag +# can be used to specify a prefix (or a list of prefixes) that should be ignored +# while generating the index headers. +# This tag requires that the tag ALPHABETICAL_INDEX is set to YES. + +IGNORE_PREFIX = + +#--------------------------------------------------------------------------- +# Configuration options related to the HTML output +#--------------------------------------------------------------------------- + +# If the GENERATE_HTML tag is set to YES, doxygen will generate HTML output +# The default value is: YES. + +GENERATE_HTML = YES + +# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. If a +# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of +# it. +# The default directory is: html. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_OUTPUT = html + +# The HTML_FILE_EXTENSION tag can be used to specify the file extension for each +# generated HTML page (for example: .htm, .php, .asp). +# The default value is: .html. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_FILE_EXTENSION = .html + +# The HTML_HEADER tag can be used to specify a user-defined HTML header file for +# each generated HTML page. If the tag is left blank doxygen will generate a +# standard header. +# +# To get valid HTML the header file that includes any scripts and style sheets +# that doxygen needs, which is dependent on the configuration options used (e.g. +# the setting GENERATE_TREEVIEW). It is highly recommended to start with a +# default header using +# doxygen -w html new_header.html new_footer.html new_stylesheet.css +# YourConfigFile +# and then modify the file new_header.html. See also section "Doxygen usage" +# for information on how to generate the default header that doxygen normally +# uses. +# Note: The header is subject to change so you typically have to regenerate the +# default header when upgrading to a newer version of doxygen. For a description +# of the possible markers and block names see the documentation. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_HEADER = + +# The HTML_FOOTER tag can be used to specify a user-defined HTML footer for each +# generated HTML page. If the tag is left blank doxygen will generate a standard +# footer. See HTML_HEADER for more information on how to generate a default +# footer and what special commands can be used inside the footer. See also +# section "Doxygen usage" for information on how to generate the default footer +# that doxygen normally uses. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_FOOTER = + +# The HTML_STYLESHEET tag can be used to specify a user-defined cascading style +# sheet that is used by each HTML page. It can be used to fine-tune the look of +# the HTML output. If left blank doxygen will generate a default style sheet. +# See also section "Doxygen usage" for information on how to generate the style +# sheet that doxygen normally uses. +# Note: It is recommended to use HTML_EXTRA_STYLESHEET instead of this tag, as +# it is more robust and this tag (HTML_STYLESHEET) will in the future become +# obsolete. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_STYLESHEET = + +# The HTML_EXTRA_STYLESHEET tag can be used to specify additional user-defined +# cascading style sheets that are included after the standard style sheets +# created by doxygen. Using this option one can overrule certain style aspects. +# This is preferred over using HTML_STYLESHEET since it does not replace the +# standard style sheet and is therefore more robust against future updates. +# Doxygen will copy the style sheet files to the output directory. +# Note: The order of the extra style sheet files is of importance (e.g. the last +# style sheet in the list overrules the setting of the previous ones in the +# list). For an example see the documentation. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_EXTRA_STYLESHEET = + +# The HTML_EXTRA_FILES tag can be used to specify one or more extra images or +# other source files which should be copied to the HTML output directory. Note +# that these files will be copied to the base HTML output directory. Use the +# $relpath^ marker in the HTML_HEADER and/or HTML_FOOTER files to load these +# files. In the HTML_STYLESHEET file, use the file name only. Also note that the +# files will be copied as-is; there are no commands or markers available. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_EXTRA_FILES = + +# The HTML_COLORSTYLE_HUE tag controls the color of the HTML output. Doxygen +# will adjust the colors in the style sheet and background images according to +# this color. Hue is specified as an angle on a colorwheel, see +# https://en.wikipedia.org/wiki/Hue for more information. For instance the value +# 0 represents red, 60 is yellow, 120 is green, 180 is cyan, 240 is blue, 300 +# purple, and 360 is red again. +# Minimum value: 0, maximum value: 359, default value: 220. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_COLORSTYLE_HUE = 220 + +# The HTML_COLORSTYLE_SAT tag controls the purity (or saturation) of the colors +# in the HTML output. For a value of 0 the output will use grayscales only. A +# value of 255 will produce the most vivid colors. +# Minimum value: 0, maximum value: 255, default value: 100. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_COLORSTYLE_SAT = 100 + +# The HTML_COLORSTYLE_GAMMA tag controls the gamma correction applied to the +# luminance component of the colors in the HTML output. Values below 100 +# gradually make the output lighter, whereas values above 100 make the output +# darker. The value divided by 100 is the actual gamma applied, so 80 represents +# a gamma of 0.8, The value 220 represents a gamma of 2.2, and 100 does not +# change the gamma. +# Minimum value: 40, maximum value: 240, default value: 80. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_COLORSTYLE_GAMMA = 80 + +# If the HTML_TIMESTAMP tag is set to YES then the footer of each generated HTML +# page will contain the date and time when the page was generated. Setting this +# to YES can help to show when doxygen was last run and thus if the +# documentation is up to date. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_TIMESTAMP = NO + +# If the HTML_DYNAMIC_MENUS tag is set to YES then the generated HTML +# documentation will contain a main index with vertical navigation menus that +# are dynamically created via JavaScript. If disabled, the navigation index will +# consists of multiple levels of tabs that are statically embedded in every HTML +# page. Disable this option to support browsers that do not have JavaScript, +# like the Qt help browser. +# The default value is: YES. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_DYNAMIC_MENUS = YES + +# If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML +# documentation will contain sections that can be hidden and shown after the +# page has loaded. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_DYNAMIC_SECTIONS = NO + +# With HTML_INDEX_NUM_ENTRIES one can control the preferred number of entries +# shown in the various tree structured indices initially; the user can expand +# and collapse entries dynamically later on. Doxygen will expand the tree to +# such a level that at most the specified number of entries are visible (unless +# a fully collapsed tree already exceeds this amount). So setting the number of +# entries 1 will produce a full collapsed tree by default. 0 is a special value +# representing an infinite number of entries and will result in a full expanded +# tree by default. +# Minimum value: 0, maximum value: 9999, default value: 100. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_INDEX_NUM_ENTRIES = 100 + +# If the GENERATE_DOCSET tag is set to YES, additional index files will be +# generated that can be used as input for Apple's Xcode 3 integrated development +# environment (see: https://developer.apple.com/xcode/), introduced with OSX +# 10.5 (Leopard). To create a documentation set, doxygen will generate a +# Makefile in the HTML output directory. Running make will produce the docset in +# that directory and running make install will install the docset in +# ~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find it at +# startup. See https://developer.apple.com/library/archive/featuredarticles/Doxy +# genXcode/_index.html for more information. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +GENERATE_DOCSET = NO + +# This tag determines the name of the docset feed. A documentation feed provides +# an umbrella under which multiple documentation sets from a single provider +# (such as a company or product suite) can be grouped. +# The default value is: Doxygen generated docs. +# This tag requires that the tag GENERATE_DOCSET is set to YES. + +DOCSET_FEEDNAME = "Doxygen generated docs" + +# This tag specifies a string that should uniquely identify the documentation +# set bundle. This should be a reverse domain-name style string, e.g. +# com.mycompany.MyDocSet. Doxygen will append .docset to the name. +# The default value is: org.doxygen.Project. +# This tag requires that the tag GENERATE_DOCSET is set to YES. + +DOCSET_BUNDLE_ID = org.doxygen.Project + +# The DOCSET_PUBLISHER_ID tag specifies a string that should uniquely identify +# the documentation publisher. This should be a reverse domain-name style +# string, e.g. com.mycompany.MyDocSet.documentation. +# The default value is: org.doxygen.Publisher. +# This tag requires that the tag GENERATE_DOCSET is set to YES. + +DOCSET_PUBLISHER_ID = org.doxygen.Publisher + +# The DOCSET_PUBLISHER_NAME tag identifies the documentation publisher. +# The default value is: Publisher. +# This tag requires that the tag GENERATE_DOCSET is set to YES. + +DOCSET_PUBLISHER_NAME = Publisher + +# If the GENERATE_HTMLHELP tag is set to YES then doxygen generates three +# additional HTML index files: index.hhp, index.hhc, and index.hhk. The +# index.hhp is a project file that can be read by Microsoft's HTML Help Workshop +# (see: https://www.microsoft.com/en-us/download/details.aspx?id=21138) on +# Windows. +# +# The HTML Help Workshop contains a compiler that can convert all HTML output +# generated by doxygen into a single compiled HTML file (.chm). Compiled HTML +# files are now used as the Windows 98 help format, and will replace the old +# Windows help format (.hlp) on all Windows platforms in the future. Compressed +# HTML files also contain an index, a table of contents, and you can search for +# words in the documentation. The HTML workshop also contains a viewer for +# compressed HTML files. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +GENERATE_HTMLHELP = NO + +# The CHM_FILE tag can be used to specify the file name of the resulting .chm +# file. You can add a path in front of the file if the result should not be +# written to the html output directory. +# This tag requires that the tag GENERATE_HTMLHELP is set to YES. + +CHM_FILE = + +# The HHC_LOCATION tag can be used to specify the location (absolute path +# including file name) of the HTML help compiler (hhc.exe). If non-empty, +# doxygen will try to run the HTML help compiler on the generated index.hhp. +# The file has to be specified with full path. +# This tag requires that the tag GENERATE_HTMLHELP is set to YES. + +HHC_LOCATION = + +# The GENERATE_CHI flag controls if a separate .chi index file is generated +# (YES) or that it should be included in the master .chm file (NO). +# The default value is: NO. +# This tag requires that the tag GENERATE_HTMLHELP is set to YES. + +GENERATE_CHI = NO + +# The CHM_INDEX_ENCODING is used to encode HtmlHelp index (hhk), content (hhc) +# and project file content. +# This tag requires that the tag GENERATE_HTMLHELP is set to YES. + +CHM_INDEX_ENCODING = + +# The BINARY_TOC flag controls whether a binary table of contents is generated +# (YES) or a normal table of contents (NO) in the .chm file. Furthermore it +# enables the Previous and Next buttons. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTMLHELP is set to YES. + +BINARY_TOC = NO + +# The TOC_EXPAND flag can be set to YES to add extra items for group members to +# the table of contents of the HTML help documentation and to the tree view. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTMLHELP is set to YES. + +TOC_EXPAND = NO + +# If the GENERATE_QHP tag is set to YES and both QHP_NAMESPACE and +# QHP_VIRTUAL_FOLDER are set, an additional index file will be generated that +# can be used as input for Qt's qhelpgenerator to generate a Qt Compressed Help +# (.qch) of the generated HTML documentation. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +GENERATE_QHP = NO + +# If the QHG_LOCATION tag is specified, the QCH_FILE tag can be used to specify +# the file name of the resulting .qch file. The path specified is relative to +# the HTML output folder. +# This tag requires that the tag GENERATE_QHP is set to YES. + +QCH_FILE = + +# The QHP_NAMESPACE tag specifies the namespace to use when generating Qt Help +# Project output. For more information please see Qt Help Project / Namespace +# (see: https://doc.qt.io/archives/qt-4.8/qthelpproject.html#namespace). +# The default value is: org.doxygen.Project. +# This tag requires that the tag GENERATE_QHP is set to YES. + +QHP_NAMESPACE = org.doxygen.Project + +# The QHP_VIRTUAL_FOLDER tag specifies the namespace to use when generating Qt +# Help Project output. For more information please see Qt Help Project / Virtual +# Folders (see: https://doc.qt.io/archives/qt-4.8/qthelpproject.html#virtual- +# folders). +# The default value is: doc. +# This tag requires that the tag GENERATE_QHP is set to YES. + +QHP_VIRTUAL_FOLDER = doc + +# If the QHP_CUST_FILTER_NAME tag is set, it specifies the name of a custom +# filter to add. For more information please see Qt Help Project / Custom +# Filters (see: https://doc.qt.io/archives/qt-4.8/qthelpproject.html#custom- +# filters). +# This tag requires that the tag GENERATE_QHP is set to YES. + +QHP_CUST_FILTER_NAME = + +# The QHP_CUST_FILTER_ATTRS tag specifies the list of the attributes of the +# custom filter to add. For more information please see Qt Help Project / Custom +# Filters (see: https://doc.qt.io/archives/qt-4.8/qthelpproject.html#custom- +# filters). +# This tag requires that the tag GENERATE_QHP is set to YES. + +QHP_CUST_FILTER_ATTRS = + +# The QHP_SECT_FILTER_ATTRS tag specifies the list of the attributes this +# project's filter section matches. Qt Help Project / Filter Attributes (see: +# https://doc.qt.io/archives/qt-4.8/qthelpproject.html#filter-attributes). +# This tag requires that the tag GENERATE_QHP is set to YES. + +QHP_SECT_FILTER_ATTRS = + +# The QHG_LOCATION tag can be used to specify the location of Qt's +# qhelpgenerator. If non-empty doxygen will try to run qhelpgenerator on the +# generated .qhp file. +# This tag requires that the tag GENERATE_QHP is set to YES. + +QHG_LOCATION = + +# If the GENERATE_ECLIPSEHELP tag is set to YES, additional index files will be +# generated, together with the HTML files, they form an Eclipse help plugin. To +# install this plugin and make it available under the help contents menu in +# Eclipse, the contents of the directory containing the HTML and XML files needs +# to be copied into the plugins directory of eclipse. The name of the directory +# within the plugins directory should be the same as the ECLIPSE_DOC_ID value. +# After copying Eclipse needs to be restarted before the help appears. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +GENERATE_ECLIPSEHELP = NO + +# A unique identifier for the Eclipse help plugin. When installing the plugin +# the directory name containing the HTML and XML files should also have this +# name. Each documentation set should have its own identifier. +# The default value is: org.doxygen.Project. +# This tag requires that the tag GENERATE_ECLIPSEHELP is set to YES. + +ECLIPSE_DOC_ID = org.doxygen.Project + +# If you want full control over the layout of the generated HTML pages it might +# be necessary to disable the index and replace it with your own. The +# DISABLE_INDEX tag can be used to turn on/off the condensed index (tabs) at top +# of each HTML page. A value of NO enables the index and the value YES disables +# it. Since the tabs in the index contain the same information as the navigation +# tree, you can set this option to YES if you also set GENERATE_TREEVIEW to YES. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +DISABLE_INDEX = NO + +# The GENERATE_TREEVIEW tag is used to specify whether a tree-like index +# structure should be generated to display hierarchical information. If the tag +# value is set to YES, a side panel will be generated containing a tree-like +# index structure (just like the one that is generated for HTML Help). For this +# to work a browser that supports JavaScript, DHTML, CSS and frames is required +# (i.e. any modern browser). Windows users are probably better off using the +# HTML help feature. Via custom style sheets (see HTML_EXTRA_STYLESHEET) one can +# further fine-tune the look of the index. As an example, the default style +# sheet generated by doxygen has an example that shows how to put an image at +# the root of the tree instead of the PROJECT_NAME. Since the tree basically has +# the same information as the tab index, you could consider setting +# DISABLE_INDEX to YES when enabling this option. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +GENERATE_TREEVIEW = NO + +# The ENUM_VALUES_PER_LINE tag can be used to set the number of enum values that +# doxygen will group on one line in the generated HTML documentation. +# +# Note that a value of 0 will completely suppress the enum values from appearing +# in the overview section. +# Minimum value: 0, maximum value: 20, default value: 4. +# This tag requires that the tag GENERATE_HTML is set to YES. + +ENUM_VALUES_PER_LINE = 4 + +# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be used +# to set the initial width (in pixels) of the frame in which the tree is shown. +# Minimum value: 0, maximum value: 1500, default value: 250. +# This tag requires that the tag GENERATE_HTML is set to YES. + +TREEVIEW_WIDTH = 250 + +# If the EXT_LINKS_IN_WINDOW option is set to YES, doxygen will open links to +# external symbols imported via tag files in a separate window. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +EXT_LINKS_IN_WINDOW = NO + +# If the HTML_FORMULA_FORMAT option is set to svg, doxygen will use the pdf2svg +# tool (see https://github.com/dawbarton/pdf2svg) or inkscape (see +# https://inkscape.org) to generate formulas as SVG images instead of PNGs for +# the HTML output. These images will generally look nicer at scaled resolutions. +# Possible values are: png The default and svg Looks nicer but requires the +# pdf2svg tool. +# The default value is: png. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_FORMULA_FORMAT = png + +# Use this tag to change the font size of LaTeX formulas included as images in +# the HTML documentation. When you change the font size after a successful +# doxygen run you need to manually remove any form_*.png images from the HTML +# output directory to force them to be regenerated. +# Minimum value: 8, maximum value: 50, default value: 10. +# This tag requires that the tag GENERATE_HTML is set to YES. + +FORMULA_FONTSIZE = 10 + +# Use the FORMULA_TRANSPARENT tag to determine whether or not the images +# generated for formulas are transparent PNGs. Transparent PNGs are not +# supported properly for IE 6.0, but are supported on all modern browsers. +# +# Note that when changing this option you need to delete any form_*.png files in +# the HTML output directory before the changes have effect. +# The default value is: YES. +# This tag requires that the tag GENERATE_HTML is set to YES. + +FORMULA_TRANSPARENT = YES + +# The FORMULA_MACROFILE can contain LaTeX \newcommand and \renewcommand commands +# to create new LaTeX commands to be used in formulas as building blocks. See +# the section "Including formulas" for details. + +FORMULA_MACROFILE = + +# Enable the USE_MATHJAX option to render LaTeX formulas using MathJax (see +# https://www.mathjax.org) which uses client side JavaScript for the rendering +# instead of using pre-rendered bitmaps. Use this if you do not have LaTeX +# installed or if you want to formulas look prettier in the HTML output. When +# enabled you may also need to install MathJax separately and configure the path +# to it using the MATHJAX_RELPATH option. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +USE_MATHJAX = NO + +# When MathJax is enabled you can set the default output format to be used for +# the MathJax output. See the MathJax site (see: +# http://docs.mathjax.org/en/latest/output.html) for more details. +# Possible values are: HTML-CSS (which is slower, but has the best +# compatibility), NativeMML (i.e. MathML) and SVG. +# The default value is: HTML-CSS. +# This tag requires that the tag USE_MATHJAX is set to YES. + +MATHJAX_FORMAT = HTML-CSS + +# When MathJax is enabled you need to specify the location relative to the HTML +# output directory using the MATHJAX_RELPATH option. The destination directory +# should contain the MathJax.js script. For instance, if the mathjax directory +# is located at the same level as the HTML output directory, then +# MATHJAX_RELPATH should be ../mathjax. The default value points to the MathJax +# Content Delivery Network so you can quickly see the result without installing +# MathJax. However, it is strongly recommended to install a local copy of +# MathJax from https://www.mathjax.org before deployment. +# The default value is: https://cdn.jsdelivr.net/npm/mathjax@2. +# This tag requires that the tag USE_MATHJAX is set to YES. + +MATHJAX_RELPATH = https://cdn.jsdelivr.net/npm/mathjax@2 + +# The MATHJAX_EXTENSIONS tag can be used to specify one or more MathJax +# extension names that should be enabled during MathJax rendering. For example +# MATHJAX_EXTENSIONS = TeX/AMSmath TeX/AMSsymbols +# This tag requires that the tag USE_MATHJAX is set to YES. + +MATHJAX_EXTENSIONS = + +# The MATHJAX_CODEFILE tag can be used to specify a file with javascript pieces +# of code that will be used on startup of the MathJax code. See the MathJax site +# (see: http://docs.mathjax.org/en/latest/output.html) for more details. For an +# example see the documentation. +# This tag requires that the tag USE_MATHJAX is set to YES. + +MATHJAX_CODEFILE = + +# When the SEARCHENGINE tag is enabled doxygen will generate a search box for +# the HTML output. The underlying search engine uses javascript and DHTML and +# should work on any modern browser. Note that when using HTML help +# (GENERATE_HTMLHELP), Qt help (GENERATE_QHP), or docsets (GENERATE_DOCSET) +# there is already a search function so this one should typically be disabled. +# For large projects the javascript based search engine can be slow, then +# enabling SERVER_BASED_SEARCH may provide a better solution. It is possible to +# search using the keyboard; to jump to the search box use + S +# (what the is depends on the OS and browser, but it is typically +# , /