Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • 1
    Then why do people even code using low-level registers when they can just use the core API? Commented Aug 23, 2018 at 10:00
  • 1
    @Roshan: 1. Performance: digitalWrite(), for example, is more than 100 times slower than direct port access. 2. Hardware features: the core only provides access to the most generic stuff, you can fully exploit the hardware capabilities only if you access the hardware directly. Commented Aug 23, 2018 at 10:05