Stories
Slash Boxes
Comments

SoylentNews is people

posted by janrinok on Monday May 22, @05:31PM   Printer-friendly

https://www.devever.net/~hl/regmap

If you've ever had to write a program which interfaces directly with hardware — perhaps while writing a program for an MCU or embedded system or a kernel driver — you may have noticed a few common patterns in register map behaviour and design. I'm not sure anyone has ever really collected them together, so I decided to make a list of all the ones I can think of.


Original Submission

 
This discussion was created by janrinok (52) for logged-in users only. Log in and try again!
Display Options Threshold/Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • (Score: 3, Interesting) by KilroySmith on Monday May 22, @10:07PM

    by KilroySmith (2113) on Monday May 22, @10:07PM (#1307481)

    I had to fight the battle over write only registers with our chip designers one time. This was in the age when transistors on a a die were expensive; adding in the read circuitry for all the registers on chip made the die noticeably larger, thus noticeably more expensive. I haven’t seen such a thing in ages, because transistors are now remarkably cheap and that battle never needs to be fought.

    Starting Score:    1  point
    Moderation   +1  
       Interesting=1, Total=1
    Extra 'Interesting' Modifier   0  
    Karma-Bonus Modifier   +1  

    Total Score:   3