xmos / lib_device_control

xCORE device control library
Other
2 stars 16 forks source link

Channel based API to reduce channel end usage #65

Closed larry-xmos closed 4 years ago

larry-xmos commented 5 years ago

Current implementation of XC interfaces allocates an additional channel end on client side. Channel end constrained applications would benefit from a channel based API. To emulate benefits of protocol checking you get interface, suggest using function calls and select (handler) functions to enforce a protocol, particularly on client side.

larry-xmos commented 5 years ago

A quick and dirty version implemented on larry-xmos/lib_device_control branch channel_api

larry-xmos commented 4 years ago

Transferred into Confluence as an enhancement item