Comments (7)
where is the error?
interface read size is only zero when there is nothing to read
from basil.
You do not need to read if you write full bytes. You will overwrite full byte whatever.
from basil.
depends on the offset and length. yes, sometimes no read is necessary. Probably it makes sense to catch this particular case.
from basil.
I think this makes the code to complicated to save a few bytes.
from basil.
It is one if and for serial port communication it makes a difference.
from basil.
then I would fix serial communication (whatever module), and I do not recommend using RegisterHardwareLayer. I don't see any reason to "fix" something that is working fine for 99% of the stuff.
I would use set_data() and get_data() for something that needs to be fast.
from basil.
Serial communication (UART) uses HL drivers for modules there is no way around this.
from basil.
Related Issues (20)
- default_nettype HOT 2
- module with multiple classes outside of basil HOT 6
- DeprecationWarning for ABC HOT 1
- Use Black for formating HOT 1
- Redefine TDC words data format HOT 1
- Measuring SMU current/voltage resets current/voltage limit HOT 8
- SiTCP performance regression HOT 1
- Add markers for sbus examples HOT 3
- Simulation bus driver issue with cocotb-bus 0.2.0 HOT 1
- Q: Possibility to add formatter to device description yaml HOT 4
- Unnecessary NTC Register temperature logging
- Q: Initialization procedure HOT 10
- Mismatched function name for X-ray machine HOT 1
- Pyserial module not listed in the requirements HOT 3
- Failing tests due to codecov removed from PyPi
- pyserial not able to reinitialize MIO1.04 after first execution
- Missing keithley 2410 formatting for SCPI queries HOT 1
- Firmware compilation error with always_latch HOT 2
- PyPI Maintanence HOT 1
- SiTCP 10G implementation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from basil.