??? 06/16/10 09:20 Read: times |
#176712 - RE: might not be so immediately well understood Responding to: ???'s previous message |
Murray R. Van Luyn said:
My only concern for adopting the HAL structure in the current module under development was that it might not be so immediately well understood by this module's intended, less experienced audience. You may be right. However, if the functions are well-named and well-documented, then I think[1] it should be clearer to just call a function named, say, enable_x2_speed() than to have to mess about with a load of conditional defines and have to twiddle specific bits... [1] yes, that's a subjective judgement. YMMV... ;-) |