SooL / dev-sool-builder

Builder for the SooL library
Other
0 stars 0 forks source link

Spread fields management #10

Open suzizecat opened 5 years ago

suzizecat commented 5 years ago

Provide a way to handle spread fields such as TIMx_SMCR->SMS Initial idea : SMS for first group and then SMSx for the next one (e.g SMS1)

suzizecat commented 4 years ago

Using a custom 32bit variable with customized operator = which would decompose and map the given value. A template using an array myArray[valueBitPosition] = destinationRegisterBitPosition would be interesting to investigate.