erlkoenig90 / f1usb Goto Github PK
View Code? Open in Web Editor NEWEinfaches Beispiel für die Entwicklung eines USB FullSpeed Device auf Basis des STM32F103 ohne die Verwendung externer Bibliotheken
License: BSD 2-Clause "Simplified" License
Einfaches Beispiel für die Entwicklung eines USB FullSpeed Device auf Basis des STM32F103 ohne die Verwendung externer Bibliotheken
License: BSD 2-Clause "Simplified" License
Hallo Niklas,
ich hab mittlereweile geschafft das program nach meiner bedürfnisse anzupassen (USART komplet auf IRQ umzustellen ohne DMA, mit nur einer VCP schnittstelle), auch habe ich paar optimierungen beim daten kopieren (EPBuffer::transmitPacket, EPBuffer::getReceivedData) implementiert.
Jetzt wollte ich fragen wie kann mann auf VCP ebene feststellen dass der host die USB serielle verbindung abgetrennt hat. also nicht kabel weg sondern nur USB serial disconnect. ich möchte detektieren wenn z.b die serielle applikation aufm PC abstürtzt oder zugemacht wird.
kannst du mir bitte hier weiterhelfen? bin für jeden hinweis dankbar.
vielen dank im voraus.
Lines 255 to 258 in e462a91
Auf der anderen seite, wie kann man an USB host signalisieren dass momentan keine weitere daten empfangen werden können (z.b. der uart tx puffer voll ist)? Das kann bei grösseren datenmengen oft vorkommen.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.