mirror of
https://github.com/sendyne/cppreg.git
synced 2025-05-09 15:14:05 +00:00
Fix typo in API documentation
This commit fixes the register type used in the "Register pack goodies" example. Closes #16
This commit is contained in:
parent
42bd134067
commit
8cb2714b4b
6
API.md
6
API.md
@ -155,13 +155,13 @@ struct Peripheral {
|
||||
using Data = Field<Channel0, 8u, 0u, read_write>;
|
||||
};
|
||||
struct Channel1 : PackedRegister<Pack, RegBistSize::b8, 8 * 1> {
|
||||
using Data = Field<Channel0, 8u, 0u, read_write>;
|
||||
using Data = Field<Channel1, 8u, 0u, read_write>;
|
||||
};
|
||||
struct Channel2 : PackedRegister<Pack, RegBistSize::b8, 8 * 2> {
|
||||
using Data = Field<Channel0, 8u, 0u, read_write>;
|
||||
using Data = Field<Channel2, 8u, 0u, read_write>;
|
||||
};
|
||||
struct Channel3 : PackedRegister<Pack, RegBistSize::b8, 8 * 3> {
|
||||
using Data = Field<Channel0, 8u, 0u, read_write>;
|
||||
using Data = Field<Channel3, 8u, 0u, read_write>;
|
||||
};
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user