Expander revised
This commit is contained in:
parent
dfa761ca08
commit
f9e56b44f3
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -30,3 +30,4 @@
|
|||
*.exe
|
||||
*.out
|
||||
*.app
|
||||
*.hex
|
||||
|
|
BIN
docs/mcp23S17.pdf
Normal file
BIN
docs/mcp23S17.pdf
Normal file
Binary file not shown.
BIN
docs/tlc5615.pdf
Normal file
BIN
docs/tlc5615.pdf
Normal file
Binary file not shown.
Binary file not shown.
BIN
driver/drv/dot.o
BIN
driver/drv/dot.o
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
driver/main.o
BIN
driver/main.o
Binary file not shown.
Binary file not shown.
|
@ -1,488 +0,0 @@
|
|||
:100000000C9461000C948B000C948B000C948B006E
|
||||
:100010000C948B000C948B000C948B000C948B0034
|
||||
:100020000C948B000C948B000C948B000C948B0024
|
||||
:100030000C948B000C948B000C948B000C948B0014
|
||||
:100040000C948B000C948B000C948B000C94600E21
|
||||
:100050000C940C0E0C948B000C94360E0C948B00AC
|
||||
:100060000C948B000C948B000C948B000C948B00E4
|
||||
:100070000C948B000C948B000C948B000C948B00D4
|
||||
:100080000C948B000C948B000C948B00EE00F10010
|
||||
:10009000F400F700FA00FD00000103010601090168
|
||||
:1000A000E800EB00D600CD0ED60ED30ECA0EC70E5A
|
||||
:1000B000C40EC10EBE0EBB0EB80EA60ED00ED90ECB
|
||||
:1000C000DC0E11241FBECFEFD0E4DEBFCDBF11E0A8
|
||||
:1000D000A0E0B1E0E4E3FEE100E00BBF02C0079066
|
||||
:1000E0000D92A033B107D9F722E0A0E3B1E001C03F
|
||||
:1000F0001D92AD39B207E1F710E0C1E6D0E004C0CF
|
||||
:100100002197FE010E940F0FC036D107C9F70E9448
|
||||
:100110008A0E0C94180F0C94000084B7877F84BF5C
|
||||
:10012000109260000FB6F894A895809160008861E5
|
||||
:1001300080936000109260000FBE789482E992E094
|
||||
:100140000E940C0160E08EE892E00E94D2016FEF05
|
||||
:100150008EE892E00E94EF0160E08AE892E00E945F
|
||||
:10016000D2016FEF8AE892E00E94EF016FEF86E81C
|
||||
:1001700092E00E94EF018DE792E00E94BE0281E3CF
|
||||
:1001800091E00E94B60381E391E00C94D60381E3F1
|
||||
:1001900091E00E94FF08A89590E0FC013197ED30B6
|
||||
:1001A000F10530F4EA5BFF4F0C940F0F0E94970D9E
|
||||
:1001B00081E391E00E94D6030FB6F894A895809150
|
||||
:1001C0006000886180936000109260000FBE089507
|
||||
:1001D0000E946B0DEDCF0E94810DEACF0E94860C2C
|
||||
:1001E000E7CF0E949F0CE4CF0E94C60CE1CF0E9493
|
||||
:1001F000DB0CDECF0E94F60CDBCF0E940C0DD8CFBB
|
||||
:100200000E94220DD5CF0E94330DD2CF0E94440D03
|
||||
:10021000CFCF0E94550DCCCF84B1806B84B9269886
|
||||
:100220008AB18C618AB980ED8CBD81E88DBD8BB1BE
|
||||
:10023000837E8BB95A9A5B9A5C9A0895FC018285F9
|
||||
:100240008823B1F08085DF01A80FB11D9C918085C6
|
||||
:1002500021E0280F20872EB5DF01A80FB11D2C93B8
|
||||
:1002600020858185281710F0108612869EBD08957E
|
||||
:100270008BB1837E8BB95A9A5B9A5C9A0895FC0184
|
||||
:1002800092859111FDCF808591E0980F9087E80FBE
|
||||
:10029000F11D60830895FC0180858823A9F1828582
|
||||
:1002A0008111FDCF81E082878BB1837E8BB99BB1B9
|
||||
:1002B00060FD2BC080E0892B8BB99BB161FD2BC009
|
||||
:1002C00080E0892B8BB99BB162FD2BC080E0892B2C
|
||||
:1002D0008BB98085818710868285882359F1808536
|
||||
:1002E000DF01A80FB11D9C91808521E0280F208798
|
||||
:1002F0002EB5DF01A80FB11D2C932085818528170D
|
||||
:1003000010F0108612869EBD089584E0892B8BB96B
|
||||
:100310009BB161FFD5CF88E0892B8BB99BB162FF80
|
||||
:10032000D5CF80E1892B8BB9808581871086828526
|
||||
:100330008111D5CF8BB1837E8BB95A9A5B9A5C9A27
|
||||
:100340000895FC0192859111FDCF08958BB1837EB4
|
||||
:100350008BB98BB160FD10C090E0892B8BB98BB14C
|
||||
:1003600061FD10C090E0892B8BB98BB162FD10C08C
|
||||
:1003700090E0892B8BB9089594E0892B8BB98BB1D0
|
||||
:1003800061FFF0CF98E0892B8BB98BB162FFF0CF82
|
||||
:1003900090E1892B8BB90895FC01718360835383AD
|
||||
:1003A000428308951F93CF93DF93EC01162F88812A
|
||||
:1003B000998160E40E943F018881998160E00E94F8
|
||||
:1003C0003F0188819981612F0E943F016A817B8171
|
||||
:1003D00088819981DF91CF911F910C944B011F93DC
|
||||
:1003E000CF93DF93EC01162F8881998160E40E94FE
|
||||
:1003F0003F018881998161E00E943F018881998154
|
||||
:10040000612F0E943F016A817B8188819981DF9100
|
||||
:10041000CF911F910C944B011F93CF93DF93EC016D
|
||||
:10042000162F8881998160E40E943F01888199811B
|
||||
:1004300062E10E943F0188819981612F0E943F0102
|
||||
:100440006A817B8188819981DF91CF911F910C9482
|
||||
:100450004B011F93CF93DF93EC01162F8881998175
|
||||
:1004600060E40E943F018881998163E10E943F011D
|
||||
:1004700088819981612F0E943F016A817B818881F7
|
||||
:100480009981DF91CF911F910C944B01CF93DF9312
|
||||
:10049000EC018881998161E40E943F018881998102
|
||||
:1004A00062E10E943F018881998160E00E943F01E2
|
||||
:1004B0008881998160E00E943F016A817B81888107
|
||||
:1004C00099810E944B01888199810E94A101E88154
|
||||
:1004D000F9818381DF91CF910895CF93DF93EC0170
|
||||
:1004E0008881998161E40E943F018881998163E15B
|
||||
:1004F0000E943F018881998160E00E943F018881CC
|
||||
:10050000998160E00E943F016A817B8188819981A5
|
||||
:100510000E944B01888199810E94A101E881F981A3
|
||||
:100520008381DF91CF910895FC01718360835383B0
|
||||
:10053000428308950F931F93CF93DF93EC018B01B8
|
||||
:10054000888199810024660F771F001C660F771F32
|
||||
:10055000001C672F702D0E943F0188819981602FB8
|
||||
:10056000660F660F0E943F016A817B8188819981B5
|
||||
:10057000DF91CF911F910F910C944B0110927C0051
|
||||
:1005800087E880937A00089580917C00807E682BB4
|
||||
:1005900060937C0080917A00806480937A0083EA83
|
||||
:1005A00091E00197F1F700C0000080917A0086FD8C
|
||||
:1005B000FCCF809178009091790008950F931F935C
|
||||
:1005C000CF93DF9361E08EE892E00E940C02C1E0DD
|
||||
:1005D000D0E001E010E02FEF84E39CE02150804068
|
||||
:1005E0009040E1F700C00000B8010C2E01C0660F7A
|
||||
:1005F0000A94EAF78EE892E00E940C022196C93034
|
||||
:10060000D10549F7DF91CF911F910F9108950F9375
|
||||
:100610001F93CF93DF9361E08AE892E00E940C027F
|
||||
:10062000C1E0D0E001E010E02FEF84E39CE0215036
|
||||
:1006300080409040E1F700C00000B8010C2E01C0DE
|
||||
:10064000660F0A94EAF78AE892E00E940C0221966B
|
||||
:10065000C930D10549F7DF91CF911F910F910895CE
|
||||
:10066000CF93DF93C0E0D0E0BE0182E892E00E9429
|
||||
:100670009A0287E893E10197F1F700C00000219604
|
||||
:10068000C11594E0D90781F72FE78AE196E0215060
|
||||
:1006900080409040E1F700C0000060E070E082E838
|
||||
:1006A00092E0DF91CF910C949A02CF93DF93C0E058
|
||||
:1006B000D0E0BE018EE792E00E949A0287E893E1C3
|
||||
:1006C0000197F1F700C000002196C11594E0D90709
|
||||
:1006D00081F72FE78AE196E0215080409040E1F7D2
|
||||
:1006E00000C0000060E070E08EE792E0DF91CF9103
|
||||
:1006F0000C949A020FB6F894A895809160008861D6
|
||||
:1007000080936000109260000FBE60E08DE792E081
|
||||
:100710000E94C402BC0182E892E00E949A0261E059
|
||||
:100720008DE792E00E94C402BC018EE792E00E9435
|
||||
:100730009A028EE892E00E946D02682F8EE892E0A5
|
||||
:100740000E940C0286E892E00E946D02682F8AE8FF
|
||||
:1007500092E00E940C02D9CF0E94DE020E940703A1
|
||||
:100760000E9430030E9455030E947A0322E02093E6
|
||||
:10077000C00028ED2093C10026E02093C200109213
|
||||
:10078000C50024E12093C400855B9E4FFC011082CC
|
||||
:1007900008958091C6008FE792E00197F1F700C0BD
|
||||
:1007A00000008091C00087FDF4CF089589539F4FCA
|
||||
:1007B000FC01108208959C01FC01E55BFE4F9081D5
|
||||
:1007C0009111FDCFF901E85BFE4F10823296108245
|
||||
:1007D0000895DC01A953BF4F2C9131E0320F3C93B7
|
||||
:1007E0003091C600FC01E20FF11DE95BFF4F308341
|
||||
:1007F0002C91213081F02C91FC01E95BFF4FE081CD
|
||||
:10080000F0E0E050FF4F8081281720F01C9281E03B
|
||||
:1008100080933001089538E028E10FB6F894A89548
|
||||
:10082000209360000FBE30936000A895E4CF0F9333
|
||||
:100830001F93CF93DF93EC018C01085B1E4FF801EF
|
||||
:1008400060818EE892E00E940C02F801908131965E
|
||||
:100850008081981740F0C55BDE4F1882DF91CF9101
|
||||
:100860001F910F9108958091C00085FFFCCFF80182
|
||||
:10087000808191E0980F9083C80FD11DC853DF4F3E
|
||||
:1008800088818093C600DF91CF911F910F910895C9
|
||||
:10089000CF92DF92EF92FF920F931F93CF93DF934C
|
||||
:1008A000EC01C85BDE4F2881211109C0DF91CF9197
|
||||
:1008B0001F910F91FF90EF90DF90CF9008958C01E2
|
||||
:1008C0008881780197EBE91A9EEFF90AF701808396
|
||||
:1008D00018826801F5EBCF1AFEEFDF0A81E0F6011E
|
||||
:1008E000808368818EE892E00E940C029881F70173
|
||||
:1008F0008081981788F49091C00095FFFCCF888183
|
||||
:1009000091E0980F9883E801C80FD11DC853DF4FBD
|
||||
:1009100088818093C600CACFF6011082C7CFFC0140
|
||||
:10092000E85BFE4F208131E0320F3083FC01E20FA3
|
||||
:10093000F11DE853FF4F6083FC01E65BFE4F8081B1
|
||||
:1009400068276083808180FF04C0908181E98927C6
|
||||
:100950008083808190E0959587958083808180FF5A
|
||||
:1009600004C0908181E989278083808190E09595FA
|
||||
:1009700087958083808180FF04C0908181E98927E9
|
||||
:100980008083808190E0959587958083808180FF2A
|
||||
:1009900004C0908181E989278083808190E09595CA
|
||||
:1009A00087958083808180FF04C0908181E98927B9
|
||||
:1009B0008083808190E0959587958083808180FFFA
|
||||
:1009C00004C0908181E989278083808190E095959A
|
||||
:1009D00087958083808180FF04C0908181E9892789
|
||||
:1009E0008083808190E0959587958083808180FFCA
|
||||
:1009F00004C0908181E989278083808190E095956A
|
||||
:100A0000879580830895DC01A85BBE4F2C9131E06F
|
||||
:100A1000320F3C93FC01E20FF11DE853FF4F60835E
|
||||
:100A2000FC01E65BFE4F208162276083208120FF6E
|
||||
:100A300004C0308121E923272083208130E03595CF
|
||||
:100A400027952083208120FF04C0308121E92327BE
|
||||
:100A50002083208130E0359527952083208120FF59
|
||||
:100A600004C0308121E923272083208130E035959F
|
||||
:100A700027952083208120FF04C0308121E923278E
|
||||
:100A80002083208130E0359527952083208120FF29
|
||||
:100A900004C0308121E923272083208130E035956F
|
||||
:100AA00027952083208120FF04C0308121E923275E
|
||||
:100AB0002083208130E0359527952083208120FFF9
|
||||
:100AC00004C0308121E923272083208130E035953F
|
||||
:100AD00027952083208120FF04C0308121E923272E
|
||||
:100AE0002083208130E03595279520832C9131E0BB
|
||||
:100AF000320F3C93820F911DDC01A853BF4F7C93B2
|
||||
:100B0000808178277083808180FF04C0908181E993
|
||||
:100B100089278083808190E0959587958083808167
|
||||
:100B200080FF04C0908181E989278083808190E0E3
|
||||
:100B3000959587958083808180FF04C0908181E9AD
|
||||
:100B400089278083808190E0959587958083808137
|
||||
:100B500080FF04C0908181E989278083808190E0B3
|
||||
:100B6000959587958083808180FF04C0908181E97D
|
||||
:100B700089278083808190E0959587958083808107
|
||||
:100B800080FF04C0908181E989278083808190E083
|
||||
:100B9000959587958083808180FF04C0908181E94D
|
||||
:100BA00089278083808190E09595879580838081D7
|
||||
:100BB00080FF04C0908181E989278083808190E053
|
||||
:100BC00095958795808308950F931F93CF93DF9317
|
||||
:100BD000DC01A85BBE4F2C9131E0320F3C93FC014D
|
||||
:100BE000E20FF11DE853FF4F4083FC01E65BFE4F2F
|
||||
:100BF000208124272083208120FF04C0308121E927
|
||||
:100C000023272083208130E035952795208320817C
|
||||
:100C100020FF04C0308121E923272083208130E098
|
||||
:100C2000359527952083208120FF04C0308121E95C
|
||||
:100C300023272083208130E035952795208320814C
|
||||
:100C400020FF04C0308121E923272083208130E068
|
||||
:100C5000359527952083208120FF04C0308121E92C
|
||||
:100C600023272083208130E035952795208320811C
|
||||
:100C700020FF04C0308121E923272083208130E038
|
||||
:100C8000359527952083208120FF04C0308121E9FC
|
||||
:100C900023272083208130E03595279520832081EC
|
||||
:100CA00020FF04C0308121E923272083208130E008
|
||||
:100CB0003595279520835FEF540F442309F46EC0C8
|
||||
:100CC0008B0141E9E80139918E012C9161E0620FBD
|
||||
:100CD0006C93BC01620F711D68537F4FEB01388329
|
||||
:100CE000208123272083208120FF03C02081242707
|
||||
:100CF0002083208130E0359527952083208120FFB7
|
||||
:100D000003C0208124272083208130E0359527955A
|
||||
:100D10002083208120FF03C020812427208320817D
|
||||
:100D200030E0359527952083208120FF03C0208166
|
||||
:100D300024272083208130E035952795208320814A
|
||||
:100D400020FF03C0208124272083208130E03595B7
|
||||
:100D500027952083208120FF03C020812427208322
|
||||
:100D6000208130E0359527952083208120FF03C026
|
||||
:100D7000208124272083208130E03595279520830A
|
||||
:100D8000208120FF03C0208124272083208130E0A0
|
||||
:100D9000359527952083515008F094CFDF91CF915E
|
||||
:100DA0001F910F910895FC01E65BFE4F2081DC014D
|
||||
:100DB000A85BBE4F3C9141E0430F4C93830F911DC4
|
||||
:100DC000DC01A853BF4F2C938081822780838081D0
|
||||
:100DD00080FF04C0908181E989278083808190E031
|
||||
:100DE000959587958083808180FF04C0908181E9FB
|
||||
:100DF00089278083808190E0959587958083808185
|
||||
:100E000080FF04C0908181E989278083808190E000
|
||||
:100E1000959587958083808180FF04C0908181E9CA
|
||||
:100E200089278083808190E0959587958083808154
|
||||
:100E300080FF04C0908181E989278083808190E0D0
|
||||
:100E4000959587958083808180FF04C0908181E99A
|
||||
:100E500089278083808190E0959587958083808124
|
||||
:100E600080FF04C0908181E989278083808190E0A0
|
||||
:100E7000959587958083808180FF04C0908181E96A
|
||||
:100E800089278083808190E0959587958083089558
|
||||
:100E9000CF92DF92EF92FF920F931F93CF93DF9346
|
||||
:100EA0006C018C01085B1E4FD8018C9191E0980F6A
|
||||
:100EB0009C93F601E80FF11DE853FF4F4083F601C4
|
||||
:100EC000E65BFE4F808184278083808180FF04C0A1
|
||||
:100ED000908181E989278083808190E0959587952D
|
||||
:100EE0008083808180FF04C0908181E9892780838D
|
||||
:100EF000808190E0959587958083808180FF04C0F4
|
||||
:100F0000908181E989278083808190E095958795FC
|
||||
:100F10008083808180FF04C0908181E9892780835C
|
||||
:100F2000808190E0959587958083808180FF04C0C3
|
||||
:100F3000908181E989278083808190E095958795CC
|
||||
:100F40008083808180FF04C0908181E9892780832C
|
||||
:100F5000808190E0959587958083808180FF04C093
|
||||
:100F6000908181E989278083808190E0959587959C
|
||||
:100F70008083808180FF04C0908181E989278083FC
|
||||
:100F8000808190E09595879580835FEF540F44238F
|
||||
:100F900009F433C1DB0120E041E9BD019C91E80186
|
||||
:100FA000888131E0380F38837601E80EF11CD8ECE7
|
||||
:100FB000ED0EF11CE7019883808189278083808171
|
||||
:100FC00080FF03C0808184278083808190E0959595
|
||||
:100FD00087958083808180FF03C080818427808300
|
||||
:100FE000808190E0959587958083808180FF03C004
|
||||
:100FF000808184278083808190E095958795808388
|
||||
:10100000808180FF03C0808184278083808190E07D
|
||||
:10101000959587958083808180FF03C08081842798
|
||||
:101020008083808190E0959587958083808180FF83
|
||||
:1010300003C0808184278083808190E09595879587
|
||||
:101040008083808180FF03C08081842780838081AA
|
||||
:1010500090E0959587958083808180FF03C0808193
|
||||
:1010600084278083808190E0959587958083119671
|
||||
:10107000EB019881292720FD242730E0359527951D
|
||||
:10108000822F20FF02C0842F822790E095958795BC
|
||||
:10109000282F80FF02C0242F282730E03595279580
|
||||
:1010A000822F20FF02C0842F822790E0959587959C
|
||||
:1010B000282F80FF02C0242F282730E03595279560
|
||||
:1010C000822F20FF02C0842F822790E0959587957C
|
||||
:1010D000682F80FF02C0642F682770E075956795C0
|
||||
:1010E000262F60FF02C0242F26272695515008F096
|
||||
:1010F00054CFD8018C9191E0980F9C93D601A80F02
|
||||
:10110000B11DA853BF4F2C93808128272083808155
|
||||
:1011100080FF04C0908181E989278083808190E0ED
|
||||
:10112000959587958083808180FF04C0908181E9B7
|
||||
:1011300089278083808190E0959587958083808141
|
||||
:1011400080FF04C0908181E989278083808190E0BD
|
||||
:10115000959587958083808180FF04C0908181E987
|
||||
:1011600089278083808190E0959587958083808111
|
||||
:1011700080FF04C0908181E989278083808190E08D
|
||||
:10118000959587958083808180FF04C0908181E957
|
||||
:1011900089278083808190E09595879580838081E1
|
||||
:1011A00080FF04C0908181E989278083808190E05D
|
||||
:1011B000959587958083808180FF04C0908181E927
|
||||
:1011C00089278083808190E0959587958083F601BB
|
||||
:1011D000E953FF4F808191E0980F9083E601C80F9B
|
||||
:1011E000D11DC95BDF4F8881DF91CF911F910F9196
|
||||
:1011F000FF90EF90DF90CF90089520E07ACFFC0130
|
||||
:10120000E953FF4F208131E0320F3083820F911D6F
|
||||
:10121000FC01E95BFF4F80810895FC01E953FF4F1A
|
||||
:10122000208131E0320F3083DC01A20FB11DA95BB8
|
||||
:10123000BF4F2C91308141E0430F4083830F911DBC
|
||||
:10124000FC01E95BFF4F3081822F90E0932B0895E2
|
||||
:10125000CF93DF93DC01EC01CB5BDF4F8881998179
|
||||
:101260008230910509F446C1A0F4009709F41BC12E
|
||||
:10127000019749F48C91FD01E80FF11D618382E033
|
||||
:1012800090E0998388838C918F5F8C93DF91CF91CD
|
||||
:1012900008958330910509F491C00497A1F78091D6
|
||||
:1012A000C6008FE792E00197F1F700C0000080913F
|
||||
:1012B000C00087FDF4CFFD01EC5BFF4F80818823E8
|
||||
:1012C00009F49DC19EEFFD01E85BFE4F808121E0A6
|
||||
:1012D000280F2083FD01E80FF11DE853FF4F908395
|
||||
:1012E000FD01E65BFE4F808189278083808180FF3E
|
||||
:1012F00004C0908181E989278083808190E0959561
|
||||
:1013000087958083808180FF04C0908181E989274F
|
||||
:101310008083808190E0959587958083808180FF90
|
||||
:1013200004C0908181E989278083808190E0959530
|
||||
:1013300087958083808180FF04C0908181E989271F
|
||||
:101340008083808190E0959587958083808180FF60
|
||||
:1013500004C0908181E989278083808190E0959500
|
||||
:1013600087958083808180FF04C0908181E98927EF
|
||||
:101370008083808190E0959587958083808180FF30
|
||||
:1013800004C0908181E989278083808190E09595D0
|
||||
:1013900087958083808180FF04C0908181E98927BF
|
||||
:1013A0008083808190E0959587958083198218824B
|
||||
:1013B0008C918F5F8C93DF91CF9108958C91FD017B
|
||||
:1013C000E80FF11D6183FD01EC5BFF4F8081682711
|
||||
:1013D0006083808180FF04C0908181E989278083B8
|
||||
:1013E000808190E0959587958083808180FF04C0FF
|
||||
:1013F000908181E989278083808190E09595879508
|
||||
:101400008083808180FF04C0908181E98927808367
|
||||
:10141000808190E0959587958083808180FF04C0CE
|
||||
:10142000908181E989278083808190E095958795D7
|
||||
:101430008083808180FF04C0908181E98927808337
|
||||
:10144000808190E0959587958083808180FF04C09E
|
||||
:10145000908181E989278083808190E095958795A7
|
||||
:101460008083808180FF04C0908181E98927808307
|
||||
:10147000808190E0959587958083808180FF04C06E
|
||||
:10148000908181E989278083808190E09595879577
|
||||
:10149000808384E090E0998388838C918F5F8C9324
|
||||
:1014A000DF91CF910895613408F4ABC08091C600FC
|
||||
:1014B0008FE792E00197F1F700C000008091C00033
|
||||
:1014C00087FDF4CFFD01E85BFE4F808191E0980F2E
|
||||
:1014D0009083FD01E80FF11DE853FF4F8EEF8083ED
|
||||
:1014E000FD01E65BFE4F908189278083808180FF2C
|
||||
:1014F00004CFFFCE8C91FD01E80FF11D6183FD014A
|
||||
:10150000EC5BFF4F808168276083808180FF04C08F
|
||||
:10151000908181E989278083808190E095958795E6
|
||||
:101520008083808180FF04C0908181E98927808346
|
||||
:10153000808190E0959587958083808180FF04C0AD
|
||||
:10154000908181E989278083808190E095958795B6
|
||||
:101550008083808180FF04C0908181E98927808316
|
||||
:10156000808190E0959587958083808180FF04C07D
|
||||
:10157000908181E989278083808190E09595879586
|
||||
:101580008083808180FF04C0908181E989278083E6
|
||||
:10159000808190E0959587958083808180FF04C04D
|
||||
:1015A000908181E989278083808190E09595879556
|
||||
:1015B0008083808180FF04C0908181E989278083B6
|
||||
:1015C000808190E09595879580839C9111968C9170
|
||||
:1015D0001197981719F19C9111968C911197981762
|
||||
:1015E00008F451CE8091C6008FE792E00197F1F7A1
|
||||
:1015F00000C000008091C00087FDF4CF63CF9FEF53
|
||||
:1016000062CE11966C931197FD01EC5BFF4F108237
|
||||
:101610001C9281E090E09983888335CE83E090E04E
|
||||
:101620009983888330CE8F929F92AF92BF92DF9240
|
||||
:10163000EF920F931F93CF93DF93DC01A953BF4F1A
|
||||
:101640009C01285B3E4F4901FC01E65BFE4F11E91E
|
||||
:101650005B01A40EB11C2EEFD22E2C9131E0320F83
|
||||
:101660003C93AC01420F511D9A01295B3F4FE901A8
|
||||
:101670006881603809F4DBC0613408F060E000E0A4
|
||||
:1016800020E03C9141E0430F4C93AC01430F511DCE
|
||||
:10169000EA01C95BDF4FE8802E2520FD212730E0DD
|
||||
:1016A00035952795422F20FF02C0412F4227242F36
|
||||
:1016B00030E035952795422F20FF02C0412F422769
|
||||
:1016C00050E055954795242F40FF02C0212F242735
|
||||
:1016D00030E035952795422F20FF02C0412F422749
|
||||
:1016E00050E055954795242F40FF02C0212F242715
|
||||
:1016F00030E035952795422F20FF02C0412F422729
|
||||
:1017000050E055954795242F40FF02C0212F2427F4
|
||||
:101710002695061708F4F4C00F5F601708F0B1CFE4
|
||||
:101720003091C600CFE7D2E02197F1F700C000006A
|
||||
:101730003091C00037FDF4CF222309F476C00EEFBC
|
||||
:10174000E401488131E0340F3883BC01640F711D1E
|
||||
:10175000AB0148535F4FEA01088330813027308363
|
||||
:10176000308130FF03C0308131273083408150E029
|
||||
:10177000559547954083308130FF03C03081312734
|
||||
:101780003083408150E0559547954083308130FF4C
|
||||
:1017900003C0308131273083408150E05595479513
|
||||
:1017A0004083308130FF03C0308131273083408156
|
||||
:1017B00050E0559547954083308130FF03C030811C
|
||||
:1017C00031273083408150E05595479540833081E3
|
||||
:1017D00030FF03C0308131273083408150E0559580
|
||||
:1017E00047954083308130FF03C0308131273083FB
|
||||
:1017F000408150E0559547954083308130FF03C0CC
|
||||
:10180000308131273083408150E0559547954083A2
|
||||
:10181000211123CFDF91CF911F910F91EF90DF9096
|
||||
:10182000BF90AF909F908F9008950FEF89CFE40104
|
||||
:10183000288131E0320F3883AC01420F511D9A01EB
|
||||
:1018400028533F4FE901D88220812D252083208114
|
||||
:1018500020FF03C0208121272083208130E035959F
|
||||
:1018600027952083208120FF03C02081212720830A
|
||||
:10187000208130E0359527952083208120FF03C00B
|
||||
:10188000208121272083208130E0359527952083F2
|
||||
:10189000208120FF03C0208121272083208130E088
|
||||
:1018A000359527952083208120FF03C020812127A3
|
||||
:1018B0002083208130E0359527952083208120FFEB
|
||||
:1018C00003C0208121272083208130E03595279592
|
||||
:1018D0002083208120FF03C02081212720832081B5
|
||||
:1018E00030E0359527952083208120FF03C020819B
|
||||
:1018F00021272083208130E0359527952083ADCEA8
|
||||
:10190000A501400F511DEA01E88206CFCF9381E384
|
||||
:1019100091E00E94DB0381E391E00E94FF08C82F61
|
||||
:101920006FEF81E391E00E948F046C2F81E391E0DF
|
||||
:101930000E948F0481E391E0CF910C94480481E3ED
|
||||
:1019400091E00E94DB0363E081E391E00E948F0459
|
||||
:101950004CE063E271E081E391E00E94E40549E03C
|
||||
:101960006AE171E081E391E00E94E4054CE06EE001
|
||||
:1019700071E081E391E00E94E4056FEF81E391E083
|
||||
:101980000E948F0481E391E00C94480481E391E08C
|
||||
:101990000E94DB0381E391E00E940D09BC01660F08
|
||||
:1019A000771F680F791F81E391E00E94030581E3AF
|
||||
:1019B00091E00C94480481E391E00E94DB036FEF17
|
||||
:1019C00081E391E00E948F0481E391E00E9448044A
|
||||
:1019D0000FB6F894A89580916000886180936000AC
|
||||
:1019E000109260000FBE0E94AC03FDCF81E391E036
|
||||
:1019F0000E94DB0381E391E00E94FF08682F8EE8DC
|
||||
:101A000092E00E940C026FEF81E391E00E948F044C
|
||||
:101A100081E391E00C94480481E391E00E94DB03B0
|
||||
:101A200081E391E00E94FF08682F8AE892E00E941B
|
||||
:101A30000C026FEF81E391E00E948F0481E391E05B
|
||||
:101A40000C94480481E391E00E94DB038EE892E06D
|
||||
:101A50000E946D02682F81E391E00E948F0481E370
|
||||
:101A600091E00C94480481E391E00E94DB038AE852
|
||||
:101A700092E00E946D02682F81E391E00E948F0442
|
||||
:101A800081E391E00C94480481E391E00E94DB0340
|
||||
:101A900086E892E00E946D02682F81E391E00E9447
|
||||
:101AA0008F0481E391E00C94480481E391E00E946B
|
||||
:101AB000DB0381E391E00E940D09BC0182E892E022
|
||||
:101AC0000E949A026FEF81E391E00E948F0481E30C
|
||||
:101AD00091E00C94480481E391E00E94DB0381E3F0
|
||||
:101AE00091E00E940D09BC018EE792E00E949A02EB
|
||||
:101AF0006FEF81E391E00E948F0481E391E00C9409
|
||||
:101B0000480481E391E00E94DB0381E391E00E94BD
|
||||
:101B1000FF08682F8DE792E00E94C402BC0181E3B8
|
||||
:101B200091E00E94030581E391E00C9448048F92B8
|
||||
:101B30009F92AF92BF92CF92DF92EF92FF920F935C
|
||||
:101B40001F93CF93DF9381E391E00E94FF08882EDB
|
||||
:101B500081E391E00E94FF08982E81E391E00E94CA
|
||||
:101B60000D09EC0181E391E00E940D095C0181E324
|
||||
:101B700091E00E940D09A89E6001A99ED00CB89E1C
|
||||
:101B8000D00C11246FEF8AE892E00E940C02CC1571
|
||||
:101B9000DD054CF5BE0182E892E00E949A02A8950C
|
||||
:101BA000682D8DE792E00E94C4027C01692D8DE7CB
|
||||
:101BB00092E00E94C4028C0181E391E00E94DB0369
|
||||
:101BC000B70181E391E00E940305B80181E391E050
|
||||
:101BD0000E94030581E391E00E944804CA0DDB1DC9
|
||||
:101BE000CC15DD05BCF281E391E00E94DB036FEFD1
|
||||
:101BF00081E391E00E948F0481E391E0DF91CF9136
|
||||
:101C00001F910F91FF90EF90DF90CF90BF90AF901A
|
||||
:101C10009F908F900C9448041F920F920FB60F92D2
|
||||
:101C200011240BB60F922F933F934F935F936F93B3
|
||||
:101C30007F938F939F93AF93BF93EF93FF9381E332
|
||||
:101C400091E00E94E903FF91EF91BF91AF919F91C5
|
||||
:101C50008F917F916F915F914F913F912F910F9055
|
||||
:101C60000BBE0F900FBE0F901F9018951F920F92F2
|
||||
:101C70000FB60F9211240BB60F922F933F934F93F1
|
||||
:101C80005F936F937F938F939F93AF93BF93EF93E4
|
||||
:101C9000FF9381E391E00E941704FF91EF91BF91C0
|
||||
:101CA000AF919F918F917F916F915F914F913F91F4
|
||||
:101CB0002F910F900BBE0F900FBE0F901F90189595
|
||||
:101CC0001F920F920FB60F9211240BB60F922F9303
|
||||
:101CD0003F934F935F936F937F938F939F93AF93B4
|
||||
:101CE000BF93EF93FF9382E992E00E941E01FF9160
|
||||
:101CF000EF91BF91AF919F918F917F916F915F9184
|
||||
:101D00004F913F912F910F900BBE0F900FBE0F90F0
|
||||
:101D10001F9018950E948D0004C086E08A95F1F707
|
||||
:101D200000C0809130018823C1F31092300181E31B
|
||||
:101D300091E00E94FF08A89590E0FC013197ED30FA
|
||||
:101D4000F10530F4ED5AFF4F0C940F0F0E946B0D0C
|
||||
:101D500081E391E00E94D6030FB6F894A895809194
|
||||
:101D60006000886180936000109260000FBED5CF44
|
||||
:101D70000E94550DEDCF0E94440DEACF0E94330D15
|
||||
:101D8000E7CF0E94220DE4CF0E940C0DE1CF0E940C
|
||||
:101D9000F60CDECF0E94DB0CDBCF0E94860CD8CF86
|
||||
:101DA0000E94810DD5CF0E94C60CD2CF0E949F0CFD
|
||||
:101DB000CFCF0E94970DCCCFE2E9F2E010861186DA
|
||||
:101DC000128642E050E0BF018EE892E00E94CC0112
|
||||
:101DD00043E050E062E972E08AE892E00E94CC01C0
|
||||
:101DE00045E050E062E972E086E892E00E94CC01B2
|
||||
:101DF00040E050E062E972E082E892E00E949402E2
|
||||
:101E000041E050E062E972E08EE792E00E949402C5
|
||||
:101E10001092310110927701109276010895EE0F21
|
||||
:101E2000FF1F0024001C0BBE0790F691E02D0994C3
|
||||
:041E3000F894FFCF54
|
||||
:101E34000102010301020201010103030209626FAD
|
||||
:101E4400617264696E666F2E680031333A33343AD6
|
||||
:101E54003535004170722020332032303139000092
|
||||
:00000001FF
|
|
@ -1,12 +0,0 @@
|
|||
:100000000C9446000C9450000C9450000C9450003A
|
||||
:100010000C9450000C9450000C9450000C94500020
|
||||
:100020000C9450000C9450000C9450000C94500010
|
||||
:100030000C9450000C9450000C9450000C94500000
|
||||
:100040000C9450000C9450000C9450000C945000F0
|
||||
:100050000C9450000C9450000C9450000C945000E0
|
||||
:100060000C9450000C9450000C9450000C945000D0
|
||||
:100070000C9450000C9450000C9450000C945000C0
|
||||
:100080000C9450000C9450000C94500011241FBE8E
|
||||
:10009000CFEFD0E4DEBFCDBF0E9452000C945500DC
|
||||
:0E00A0000C94000080E090E00895F894FFCFEB
|
||||
:00000001FF
|
|
@ -3,30 +3,69 @@
|
|||
|
||||
#include "spi.h"
|
||||
|
||||
|
||||
|
||||
class MCP23S17
|
||||
{
|
||||
public:
|
||||
/**
|
||||
* Erzeugt ein neues Expander Objekt mit fester Referenz
|
||||
* zur SPI Verbindung und fester SPI-'Adresse'
|
||||
*/
|
||||
MCP23S17(volatile SPI&, SPIADR adr);
|
||||
|
||||
/**
|
||||
* Setzt die Richtung (In/Out) aller Pins von Port A
|
||||
* Bit gesetzt: Pin ist Eingang, sonst Ausgang
|
||||
* \param dir Richtungen für gesamten Port A
|
||||
*/
|
||||
void setDirA(uint8_t dir) const volatile;
|
||||
|
||||
/**
|
||||
* Setzt die Richtung (In/Out) aller Pins von Port B
|
||||
* Bit gesetzt: Pin ist Eingang, sonst Ausgang
|
||||
* \param dir Richtungen für gesamten Port B
|
||||
*/
|
||||
void setDirB(uint8_t dir) const volatile;
|
||||
void writePortA(uint8_t) const volatile;
|
||||
void writePortB(uint8_t) const volatile;
|
||||
|
||||
/**
|
||||
* Setzt den Zustand (High/Low) aller Pins von Port A
|
||||
* Bit gesetzt: Pin ist High, sonst Low
|
||||
* \param port Zustände für gesamten Port A
|
||||
*/
|
||||
void writePortA(uint8_t port) const volatile;
|
||||
|
||||
/**
|
||||
* Setzt den Zustand (High/Low) aller Pins von Port B
|
||||
* Bit gesetzt: Pin ist High, sonst Low
|
||||
* \param port Zustände für gesamten Port B
|
||||
*/
|
||||
void writePortB(uint8_t port) const volatile;
|
||||
|
||||
/**
|
||||
* Liest den Zustand (High/Low) aller Pins von Port A
|
||||
* \return Zustände für gesamten Port A
|
||||
*/
|
||||
uint8_t readPortA(void) const volatile;
|
||||
|
||||
/**
|
||||
* Liest den Zustand (High/Low) aller Pins von Port B
|
||||
* \return Zustände für gesamten Port B
|
||||
*/
|
||||
uint8_t readPortB(void) const volatile;
|
||||
|
||||
private:
|
||||
volatile SPI& spi;
|
||||
// Referenz zur SPI Verbindung
|
||||
volatile SPI& spi;
|
||||
|
||||
// SPI-'Adresse' dieses Expanders
|
||||
const SPIADR adr;
|
||||
|
||||
// constants
|
||||
constexpr static uint8_t MCP23S17_DIRA = 0x00;
|
||||
constexpr static uint8_t MCP23S17_DIRB = 0x01;
|
||||
constexpr static uint8_t MCP23S17_PORTA = 0x12;
|
||||
constexpr static uint8_t MCP23S17_PORTB = 0x13;
|
||||
constexpr static uint8_t MCP23S17_READ = 0x01;
|
||||
constexpr static uint8_t MCP23S17_WRITE = 0x00;
|
||||
constexpr static uint8_t MCP23S17_DIRA = 0x00;
|
||||
constexpr static uint8_t MCP23S17_DIRB = 0x01;
|
||||
constexpr static uint8_t MCP23S17_PORTA = 0x12;
|
||||
constexpr static uint8_t MCP23S17_PORTB = 0x13;
|
||||
constexpr static uint8_t MCP23S17_READ = 0x01;
|
||||
constexpr static uint8_t MCP23S17_WRITE = 0x00;
|
||||
constexpr static uint8_t MCP23S17_OPCODE = 0x40;
|
||||
};
|
||||
|
||||
|
|
|
@ -7,8 +7,8 @@ class TLC5615
|
|||
{
|
||||
public:
|
||||
/**
|
||||
* Erzeugt ein neues DAC Objekt mit fester Referenz zur SPI Verbindung
|
||||
* und fester SPI-'Adresse'
|
||||
* Erzeugt ein neues DAC Objekt mit fester Referenz
|
||||
* zur SPI Verbindung und fester SPI-'Adresse'
|
||||
*/
|
||||
TLC5615(volatile SPI&, SPIADR adr);
|
||||
|
||||
|
|
Loading…
Reference in a new issue