|Assignee:||Thomas Schöpping||% Done:|
|Category:||-||Estimated time:||4.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).