AVR C Runtime Library - Bugs: bug #56536, 328PB power reduction register...
You are not allowed to post comments on this tracker with your current authentication level.
bug #56536: 328PB power reduction register PRPTC and PRSPI1 switch missing from power.h
Submitter: | szotsaki <szotsaki> | ||
Submitted: | Fri 21 Jun 2019 03:14:26 PM UTC | ||
Category: | Header | Severity: | 3 - Normal |
Priority: | 5 - Normal | Item Group: | libc code |
Status: | None | Percent Complete: | 0% |
Assigned to: | None | Open/Closed: | Open |
Release: | 2.0.0 | Fixed Release: | None |
Attached Files
file #47118: power.h.patch added by szotsaki (3KiB - text/x-patch - (Yet untested) patch for the issues listed above)
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
Follows 1 latest change.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2019-06-21 | szotsaki | Attached File | - | ![]() |
Added power.h.patch, #47118 |
In iom328pb.h you can find the following two testing variables for ATmega 328PB Power Reduction Register 1:
Unfortunately, using (i.e. enabling and disabling) them is not possible via power.h since there are no functions (defines) which would allow that.
Also, in power.h the giant #ifdef starting at line 1296 is missing its the define for _AVR_ATmega328PB_ (though I don't know if it's ok to include there).
And if you're already there, could you please convert the encoding of power.h to standard UTF-8? Thank you very much!