> On 21 Apr 2023, at 07:02, Hans Unzner <hansunz...@gmail.com> wrote:
> 
> Because, e.g., setting a bit in a holding register you need to read that 
> register, set that bit and write the value back.

I am wondering about including a flag that indicates that the HAL pins should 
be inited from the device, but in general HAL writes every value every thread 
anyway, so this would only affect the behaviour of unconnected pins. 
Maybe it makes sense for the HAL file to set the pins to a known default 
anyway? 
To save serial traffic the driver only writes changes (but as HAL pins init to 
zero this will generally look like a change) 

_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to