Comments (5)
Commit b84a5aa changes the API to have separate 'start' and 'stop' bits. The start bit is will only work when timer is not running. Similarly, the stop bit will only work when the timer is running.
Additionally, this commit change the name of the 'ready' bit to 'running' to make it more clear. This change also inverse the values. The bit is zero when the timer is not running, and one when the timer is running.
The commit updates the documentation and header file. The commit also updates the core testbench.
from tillitis-key1.
@secworks Just to confirm; you mentioned that for the watchdog, writing to the start-bit when the timer is already running would cause it to restart (with same timer value & prescaler). That was only for the watchdog, and not for our general timer then?
from tillitis-key1.
Yes. That is only for the watchdog. Unless you think otherwise. I'm open to suggestions on the API, alining behaviours between cores have benefits (I think - like having control and status on the same intra-addresses.). Would it make sense to have the timer behave like this? When would it make sense? (Use case?)
from tillitis-key1.
@secworks i've updated fw & testfw to the new API and pushed a commit. Also small change to software.md in another commit.
from tillitis-key1.
I have reviewed the changes and think this can be merged.
from tillitis-key1.
Related Issues (20)
- Add a Verilog formatter
- Make testbenches self testing, and with correct exit code
- Idea: ability (but not enforced) to clear (or R/W) CDI HOT 4
- Improve community information about the project HOT 1
- Increase clock frequency of application_fpga HOT 2
- Clean up UDI and UDS implementation as well as udi_uds_patch program
- Add support for client based device reset HOT 14
- support for OpenPGP? HOT 1
- Rewrite code to reduce resource allocation HOT 1
- Update core local Makefiles to use Verilog-2005 for sim, linting
- Hardware support to access flash from CPU
- Signal to firmware not to load app from flash HOT 2
- FW: Optionally start app from flash
- CH552 fw: Support for different USB classes: CDC and HID
- Support communication to different USB endpoints
- FIDO2 device app
- Change names of ADDR_RAM_ASLR and ADDR_RAM_SCRAMBLE HOT 1
- Device app to test hold touch HOT 1
- Remove possible redundant RAM clearing functionality HOT 1
- Remove possibly redundant randomized RAM scrambling during randomised RAM fill
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 tillitis-key1.