Closed dzamlo closed 8 years ago
Similar peripheral (especially the ones with the derivedFrom attribute) should use a common struct. So that a function could take any one of them as parameter.
derivedFrom
struct
One good example of that is GPIOs.
For the moment, each peripheral has its own module.
This is implemented.
Similar peripheral (especially the ones with the
derivedFrom
attribute) should use a commonstruct
. So that a function could take any one of them as parameter.One good example of that is GPIOs.
For the moment, each peripheral has its own module.