drivers: improvements to UART driver interface
drivers: improvements to UART driver interface

- removed UNDEFINED value from device enum
- added argument for callbacks
- add power[on|off] functions
- removed tx_end() function in favor of cb return value

malosek/RIOT,rfuentess/RIOT,alignan/RIOT,luciotorre/RIOT,RBartz/RIOT,shady33/RIOT,tdautc19841202/RIOT,dkm/RIOT,kaleb-himes/RIOT,koenning/RIOT,A-Paul/RIOT,hamilton-mote/RIOT-OS,dailab/RIOT,fnack/RIOT,stevenj/RIOT,RIOT-OS/RIOT,bartfaizoltan/RIOT,adjih/RIOT,alex1818/RIOT,emmanuelsearch/RIOT,gautric/RIOT,adrianghc/RIOT,immesys/RiSyn,RIOT-OS/RIOT,MohmadAyman/RIOT,benoit-canet/RIOT,foss-for-synopsys-dwc-arc-processors/RIOT,benoit-canet/RIOT,PSHIVANI/Riot-Code,avmelnikoff/RIOT,kaleb-himes/RIOT,automote/RIOT,kbumsik/RIOT,latsku/RIOT,sgso/RIOT,gbarnett/RIOT,locicontrols/RIOT,backenklee/RIOT,lebrush/RIOT,LudwigOrtmann/RIOT,cladmi/RIOT,Ell-i/RIOT,PSHIVANI/Riot-Code,yogo1212/RIOT,plushvoxel/RIOT,MarkXYang/RIOT,beurdouche/RIOT,AnonMall/RIOT,emmanuelsearch/RIOT,changbiao/RIOT,binarylemon/RIOT,bartfaizoltan/RIOT,kerneltask/RIOT,zhuoshuguo/RIOT,brettswann/RIOT,yogo1212/RIOT,JensErdmann/RIOT,abp719/RIOT,lazytech-org/RIOT,roberthartung/RIOT,jasonatran/RIOT,ros2/ros2_embedded_riot,mziegert/RIOT,locicontrols/RIOT,herrfz/RIOT,Josar/RIOT,Osblouf/RIOT,mfrey/RIOT,d00616/RIOT,EmuxEvans/RIOT,openkosmosorg/RIOT,altairpearl/RIOT,authmillenon/RIOT,dailab/RIOT,rfswarm2/RIOT,lazytech-org/RIOT,ximus/RIOT,authmillenon/RIOT,rfswarm/RIOT,bartfaizoltan/RIOT,LudwigOrtmann/RIOT,basilfx/RIOT,koenning/RIOT,phiros/RIOT,asanka-code/RIOT,toonst/RIOT,kb2ma/RIOT,Lexandro92/RIOT-CoAP,LudwigOrtmann/RIOT,authmillenon/RIOT,ThanhVic/RIOT,jfischer-phytec-iot/RIOT,JensErdmann/RIOT,haoyangyu/RIOT,herrfz/RIOT-old,rakendrathapa/RIOT,centurysys/RIOT,miri64/RIOT,daniel-k/RIOT,patkan/RIOT,stevenj/RIOT,attdona/RIOT,phiros/RIOT,luciotorre/RIOT,khhhh/RIOT,gbarnett/RIOT,jferreir/RIOT,changbiao/RIOT,Yonezawa-T2/RIOT,OTAkeys/RIOT,neumodisch/RIOT,plushvoxel/RIOT,neiljay/RIOT,jhollister/RIOT,sumanpanchal/RIOT,latsku/RIOT,daniel-k/RIOT,dkm/RIOT,abkam07/RIOT,immesys/RiSyn,koenning/RIOT,1blankz7/RIOT,katezilla/RIOT,ros2/ros2_embedded_riot,robixnai/RIOT,chris-wood/RIOT,miri64/RIOT,OlegHahm/RIOT,brettswann/RIOT,neumodisch/RIOT,attdona/RIOT,kbumsik/RIOT,benoit-canet/RIOT,ntrtrung/RIOT,adjih/RIOT,foss-for-synopsys-dwc-arc-processors/RIOT,toonst/RIOT,alex1818/RIOT,ros2/ros2_embedded_riot,PSHIVANI/Riot-Code,mtausig/RIOT,tfar/RIOT,authmillenon/RIOT,asanka-code/RIOT,benoit-canet/RIOT,neumodisch/RIOT,Lotterleben/RIOT,herrfz/RIOT-old,l3nko/RIOT,rfswarm/RIOT,herrfz/RIOT,Ell-i/RIOT,dailab/RIOT,Lexandro92/RIOT-CoAP,watr-li/RIOT,patkan/RIOT,BytesGalore/RIOT,gbarnett/RIOT,ros2/ros2_embedded_riot,patkan/RIOT,authmillenon/RIOT,dkm/RIOT,lebrush/RIOT,daniel-k/RIOT,openkosmosorg/RIOT,MarkXYang/RIOT,stevenj/RIOT,FrancescoErmini/RIOT,adjih/RIOT,RubikonAlpha/RIOT,immesys/RiSyn,Lotterleben/RIOT,miri64/RIOT,rfswarm2/RIOT,JensErdmann/RIOT,adrianghc/RIOT,tdautc19841202/RIOT,alignan/RIOT,l3nko/RIOT,centurysys/RIOT,kushalsingh007/RIOT,mtausig/RIOT,x3ro/RIOT,1blankz7/RIOT,RBartz/RIOT,latsku/RIOT,jbeyerstedt/RIOT-OTA-update,shady33/RIOT,jasonatran/RIOT,PSHIVANI/Riot-Code,beurdouche/RIOT,syin2/RIOT,LudwigKnuepfer/RIOT,EmuxEvans/RIOT,beurdouche/RIOT,locicontrols/RIOT,attdona/RIOT,arvindpdmn/RIOT,MohmadAyman/RIOT,attdona/RIOT,Lexandro92/RIOT-CoAP,Osblouf/RIOT,herrfz/RIOT,Darredevil/RIOT,thiagohd/RIOT,alex1818/RIOT,jfischer-phytec-iot/RIOT,neiljay/RIOT,Darredevil/RIOT,EmuxEvans/RIOT,arvindpdmn/RIOT,hamilton-mote/RIOT-OS,ximus/RIOT,lazytech-org/RIOT,josephnoir/RIOT,alex1818/RIOT,mziegert/RIOT,kaleb-himes/RIOT,abkam07/RIOT,basilfx/RIOT,marcosalm/RIOT,jfischer-phytec-iot/RIOT,herrfz/RIOT,daniel-k/RIOT,basilfx/RIOT,rousselk/RIOT,ThanhVic/RIOT,jhollister/RIOT,aeneby/RIOT,jremmert-phytec-iot/RIOT,DipSwitch/RIOT,LudwigKnuepfer/RIOT,haoyangyu/RIOT,automote/RIOT,Lotterleben/RIOT,MohmadAyman/RIOT,phiros/RIOT,ntrtrung/RIOT,attdona/RIOT,katezilla/RIOT,avmelnikoff/RIOT,jferreir/RIOT,MarkXYang/RIOT,smlng/RIOT,fnack/RIOT,ks156/RIOT,aeneby/RIOT,jferreir/RIOT,abkam07/RIOT,asanka-code/RIOT,rfswarm/RIOT,kaleb-himes/RIOT,TobiasFredersdorf/RIOT,adrianghc/RIOT,hamilton-mote/RIOT-OS,wentaoshang/RIOT,biboc/RIOT,alignan/RIOT,haoyangyu/RIOT,sgso/RIOT,changbiao/RIOT,hamilton-mote/RIOT-OS,smlng/RIOT,abp719/RIOT,d00616/RIOT,Josar/RIOT,Josar/RIOT,avmelnikoff/RIOT,abkam07/RIOT,dhruvvyas90/RIOT,RubikonAlpha/RIOT,jbeyerstedt/RIOT-OTA-update,sgso/RIOT,gbarnett/RIOT,shady33/RIOT,Yonezawa-T2/RIOT,rakendrathapa/RIOT,herrfz/RIOT-old,bartfaizoltan/RIOT,backenklee/RIOT,MonsterCode8000/RIOT,kbumsik/RIOT,thomaseichinger/RIOT,RubikonAlpha/RIOT,A-Paul/RIOT,yogo1212/RIOT,ks156/RIOT,ThanhVic/RIOT,l3nko/RIOT,ant9000/RIOT,stevenj/RIOT,cladmi/RIOT,EmuxEvans/RIOT,openkosmosorg/RIOT,jferreir/RIOT,ks156/RIOT,dhruvvyas90/RIOT,malosek/RIOT,rfuentess/RIOT,altairpearl/RIOT,patkan/RIOT,RBartz/RIOT,Yonezawa-T2/RIOT,brettswann/RIOT,adrianghc/RIOT,kerneltask/RIOT,jhollister/RIOT,mtausig/RIOT,ant9000/RIOT,abp719/RIOT,aeneby/RIOT,Yonezawa-T2/RIOT,rfswarm/RIOT,jhollister/RIOT,tfar/RIOT,automote/RIOT,kerneltask/RIOT,koenning/RIOT,katezilla/RIOT,avmelnikoff/RIOT,immesys/RiSyn,cladmi/RIOT,sumanpanchal/RIOT,jasonatran/RIOT,MohmadAyman/RIOT,shady33/RIOT,rousselk/RIOT,mfrey/RIOT,Ell-i/RIOT,thomaseichinger/RIOT,openkosmosorg/RIOT,neiljay/RIOT,OlegHahm/RIOT,RubikonAlpha/RIOT,koenning/RIOT,abkam07/RIOT,rousselk/RIOT,rakendrathapa/RIOT,daniel-k/RIOT,changbiao/RIOT,lazytech-org/RIOT,MohmadAyman/RIOT,biboc/RIOT,toonst/RIOT,zhuoshuguo/RIOT,RIOT-OS/RIOT,ros2/ros2_embedded_riot,msolters/RIOT,automote/RIOT,smlng/RIOT,MonsterCode8000/RIOT,cladmi/RIOT,Josar/RIOT,ThanhVic/RIOT,binarylemon/RIOT,tfar/RIOT,JensErdmann/RIOT,TobiasFredersdorf/RIOT,emmanuelsearch/RIOT,altairpearl/RIOT,lazytech-org/RIOT,Osblouf/RIOT,beurdouche/RIOT,EmuxEvans/RIOT,haoyangyu/RIOT,abp719/RIOT,RIOT-OS/RIOT,robixnai/RIOT,yogo1212/RIOT,latsku/RIOT,rousselk/RIOT,khhhh/RIOT,marcosalm/RIOT,binarylemon/RIOT,nsol-nmsu/RIOT,rajma996/RIOT,lebrush/RIOT,rfuentess/RIOT,katezilla/RIOT,roberthartung/RIOT,ant9000/RIOT,aeneby/RIOT,Yonezawa-T2/RIOT,robixnai/RIOT,dkm/RIOT,rousselk/RIOT,nsol-nmsu/RIOT,sumanpanchal/RIOT,lebrush/RIOT,PSHIVANI/Riot-Code,d00616/RIOT,x3ro/RIOT,ximus/RIOT,MohmadAyman/RIOT,gebart/RIOT,AnonMall/RIOT,l3nko/RIOT,wentaoshang/RIOT,toonst/RIOT,jremmert-phytec-iot/RIOT,chris-wood/RIOT,OlegHahm/RIOT,rfswarm/RIOT,locicontrols/RIOT,rfswarm2/RIOT,jhollister/RIOT,MarkXYang/RIOT,zhuoshuguo/RIOT,Lexandro92/RIOT-CoAP,josephnoir/RIOT,x3ro/RIOT,ThanhVic/RIOT,chris-wood/RIOT,roberthartung/RIOT,EmuxEvans/RIOT,LudwigOrtmann/RIOT,msolters/RIOT,kbumsik/RIOT,mziegert/RIOT,MonsterCode8000/RIOT,malosek/RIOT,DipSwitch/RIOT,josephnoir/RIOT,luciotorre/RIOT,A-Paul/RIOT,Lexandro92/RIOT-CoAP,wentaoshang/RIOT,foss-for-synopsys-dwc-arc-processors/RIOT,zhuoshuguo/RIOT,x3ro/RIOT,gebart/RIOT,tfar/RIOT,stevenj/RIOT,thomaseichinger/RIOT,sumanpanchal/RIOT,kushalsingh007/RIOT,tfar/RIOT,gebart/RIOT,locicontrols/RIOT,gautric/RIOT,Darredevil/RIOT,gbarnett/RIOT,kbumsik/RIOT,Ell-i/RIOT,centurysys/RIOT,1blankz7/RIOT,OTAkeys/RIOT,RBartz/RIOT,watr-li/RIOT,Lotterleben/RIOT,foss-for-synopsys-dwc-arc-processors/RIOT,jhollister/RIOT,ThanhVic/RIOT,Hyungsin/RIOT-OS,openkosmosorg/RIOT,mfrey/RIOT,tdautc19841202/RIOT,binarylemon/RIOT,asanka-code/RIOT,plushvoxel/RIOT,Hyungsin/RIOT-OS,watr-li/RIOT,msolters/RIOT,smlng/RIOT,kYc0o/RIOT,daniel-k/RIOT,ks156/RIOT,chris-wood/RIOT,Osblouf/RIOT,LudwigKnuepfer/RIOT,patkan/RIOT,kaspar030/RIOT,ks156/RIOT,ros2/ros2_embedded_riot,rajma996/RIOT,altairpearl/RIOT,mziegert/RIOT,FrancescoErmini/RIOT,plushvoxel/RIOT,alex1818/RIOT,rfswarm/RIOT,khhhh/RIOT,malosek/RIOT,asanka-code/RIOT,Lexandro92/RIOT-CoAP,DipSwitch/RIOT,wentaoshang/RIOT,kaspar030/RIOT,biboc/RIOT,emmanuelsearch/RIOT,dhruvvyas90/RIOT,backenklee/RIOT,AnonMall/RIOT,MarkXYang/RIOT,ximus/RIOT,marcosalm/RIOT,locicontrols/RIOT,chris-wood/RIOT,dhruvvyas90/RIOT,Yonezawa-T2/RIOT,fnack/RIOT,brettswann/RIOT,A-Paul/RIOT,watr-li/RIOT,miri64/RIOT,centurysys/RIOT,Osblouf/RIOT,BytesGalore/RIOT,dailab/RIOT,alignan/RIOT,rousselk/RIOT,PSHIVANI/Riot-Code,khhhh/RIOT,marcosalm/RIOT,MarkXYang/RIOT,thiagohd/RIOT,JensErdmann/RIOT,kYc0o/RIOT,jferreir/RIOT,jremmert-phytec-iot/RIOT,kYc0o/RIOT,malosek/RIOT,OTAkeys/RIOT,tdautc19841202/RIOT,MonsterCode8000/RIOT,FrancescoErmini/RIOT,RBartz/RIOT,ntrtrung/RIOT,bartfaizoltan/RIOT,syin2/RIOT,centurysys/RIOT,thiagohd/RIOT,avmelnikoff/RIOT,AnonMall/RIOT,plushvoxel/RIOT,kaspar030/RIOT,Osblouf/RIOT,AnonMall/RIOT,phiros/RIOT,rakendrathapa/RIOT,Lotterleben/RIOT,LudwigKnuepfer/RIOT,l3nko/RIOT,ant9000/RIOT,rfswarm2/RIOT,LudwigOrtmann/RIOT,neiljay/RIOT,watr-li/RIOT,1blankz7/RIOT,kushalsingh007/RIOT,brettswann/RIOT,automote/RIOT,mziegert/RIOT,asanka-code/RIOT,automote/RIOT,d00616/RIOT,haoyangyu/RIOT,changbiao/RIOT,watr-li/RIOT,mziegert/RIOT,zhuoshuguo/RIOT,jfischer-phytec-iot/RIOT,yogo1212/RIOT,kaleb-himes/RIOT,benoit-canet/RIOT,OTAkeys/RIOT,thiagohd/RIOT,cladmi/RIOT,thiagohd/RIOT,sgso/RIOT,msolters/RIOT,rajma996/RIOT,DipSwitch/RIOT,hamilton-mote/RIOT-OS,gebart/RIOT,jremmert-phytec-iot/RIOT,katezilla/RIOT,haoyangyu/RIOT,dkm/RIOT,rajma996/RIOT,ant9000/RIOT,kaspar030/RIOT,neiljay/RIOT,jferreir/RIOT,DipSwitch/RIOT,gautric/RIOT,ntrtrung/RIOT,kushalsingh007/RIOT,ntrtrung/RIOT,luciotorre/RIOT,A-Paul/RIOT,binarylemon/RIOT,kaspar030/RIOT,OlegHahm/RIOT,RubikonAlpha/RIOT,TobiasFredersdorf/RIOT,kb2ma/RIOT,RIOT-OS/RIOT,TobiasFredersdorf/RIOT,arvindpdmn/RIOT,backenklee/RIOT,zhuoshuguo/RIOT,sumanpanchal/RIOT,MonsterCode8000/RIOT,msolters/RIOT,attdona/RIOT,roberthartung/RIOT,Darredevil/RIOT,latsku/RIOT,altairpearl/RIOT,kushalsingh007/RIOT,Josar/RIOT,locicontrols/RIOT,Ell-i/RIOT,khhhh/RIOT,malosek/RIOT,adrianghc/RIOT,gbarnett/RIOT,herrfz/RIOT-old,immesys/RiSyn,robixnai/RIOT,syin2/RIOT,toonst/RIOT,TobiasFredersdorf/RIOT,abp719/RIOT,alex1818/RIOT,Darredevil/RIOT,x3ro/RIOT,sgso/RIOT,mfrey/RIOT,LudwigOrtmann/RIOT,fnack/RIOT,mtausig/RIOT,kerneltask/RIOT,marcosalm/RIOT,syin2/RIOT,OTAkeys/RIOT,adjih/RIOT,JensErdmann/RIOT,lebrush/RIOT,alignan/RIOT,jbeyerstedt/RIOT-OTA-update,beurdouche/RIOT,kushalsingh007/RIOT,changbiao/RIOT,backenklee/RIOT,1blankz7/RIOT,Lotterleben/RIOT,herrfz/RIOT,biboc/RIOT,neumodisch/RIOT,josephnoir/RIOT,LudwigKnuepfer/RIOT,thomaseichinger/RIOT,jfischer-phytec-iot/RIOT,gebart/RIOT,dhruvvyas90/RIOT,rfuentess/RIOT,BytesGalore/RIOT,jbeyerstedt/RIOT-OTA-update,brettswann/RIOT,jbeyerstedt/RIOT-OTA-update,khhhh/RIOT,rakendrathapa/RIOT,sgso/RIOT,tdautc19841202/RIOT,gautric/RIOT,rajma996/RIOT,jasonatran/RIOT,binarylemon/RIOT,RubikonAlpha/RIOT,herrfz/RIOT-old,RBartz/RIOT,authmillenon/RIOT,gautric/RIOT,latsku/RIOT,kb2ma/RIOT,nsol-nmsu/RIOT,arvindpdmn/RIOT,nsol-nmsu/RIOT,FrancescoErmini/RIOT,1blankz7/RIOT,smlng/RIOT,abp719/RIOT,robixnai/RIOT,herrfz/RIOT,dhruvvyas90/RIOT,adjih/RIOT,luciotorre/RIOT,Hyungsin/RIOT-OS,kYc0o/RIOT,BytesGalore/RIOT,altairpearl/RIOT,nsol-nmsu/RIOT,MonsterCode8000/RIOT,kYc0o/RIOT,msolters/RIOT,jremmert-phytec-iot/RIOT,sumanpanchal/RIOT,rfswarm2/RIOT,emmanuelsearch/RIOT,centurysys/RIOT,mfrey/RIOT,yogo1212/RIOT,koenning/RIOT,phiros/RIOT,Darredevil/RIOT,rajma996/RIOT,ros2/ros2_embedded_riot,kb2ma/RIOT,stevenj/RIOT,FrancescoErmini/RIOT,d00616/RIOT,luciotorre/RIOT,rfswarm2/RIOT,emmanuelsearch/RIOT,openkosmosorg/RIOT,josephnoir/RIOT,jremmert-phytec-iot/RIOT,kerneltask/RIOT,bartfaizoltan/RIOT,neumodisch/RIOT,DipSwitch/RIOT,chris-wood/RIOT,basilfx/RIOT,roberthartung/RIOT,Hyungsin/RIOT-OS,biboc/RIOT,thiagohd/RIOT,shady33/RIOT,arvindpdmn/RIOT,patkan/RIOT,benoit-canet/RIOT,foss-for-synopsys-dwc-arc-processors/RIOT,d00616/RIOT,shady33/RIOT,ximus/RIOT,Lotterleben/RIOT,tdautc19841202/RIOT,fnack/RIOT,wentaoshang/RIOT,syin2/RIOT,l3nko/RIOT,dailab/RIOT,marcosalm/RIOT,Hyungsin/RIOT-OS,basilfx/RIOT,rfuentess/RIOT,arvindpdmn/RIOT,AnonMall/RIOT,jasonatran/RIOT,ximus/RIOT,neumodisch/RIOT,BytesGalore/RIOT,mtausig/RIOT,immesys/RiSyn,miri64/RIOT,fnack/RIOT,OlegHahm/RIOT,abkam07/RIOT,aeneby/RIOT,lebrush/RIOT,thomaseichinger/RIOT,robixnai/RIOT,FrancescoErmini/RIOT,kb2ma/RIOT,wentaoshang/RIOT,rakendrathapa/RIOT,ntrtrung/RIOT,phiros/RIOT