|Assignee:||Thomas Schöpping||% Done:|
|Category:||-||Estimated time:||8.00 hours|
The periphery abstraction layer (periphAL) should be revised and optimized:
enumshould be replaced by a combination of
#defineand optimal fundamental types (e.g.
typedef uint16_t apalExitStatus_t) for best code efficiency.
apalGpioActive_tshould be extended by two further states:
apalGpioEdge_tdocumentation s´must clearly state that values refer to physical (not logical!) signal edges.
apalGpioMeta_tneeds to be updated accordingly (i.e. two bits for the
apalGpioMeta_tcan also apply to output signals, so wherever this struct is used, comments must be updated accordingly (right now the definitions in all
module.cfiles state it as "interrupt edge", which just one of many ways how the edge information can be interpreted).
#1 Updated by Thomas Schöpping about 4 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
- Estimated time changed from 4.00 to 8.00
The structure of periphAL was heavily revised.
In addition to the requested enhancements, the interface header is now a fixed component of AMiRo-LLD, thus it is not required that the using OS implements this header.