Sorry for my approach as beginner; we are working on a project for a professional weather station migrating from a previous implementation I2C based
I am not sure how use registers in applications.
I have defined some simple registers
Cyphal-demos/public_regulated_data_types/reg/rmap/metadata at main · r-map/Cyphal-demos · GitHub
and I am trying to use them in a derivated demo application
Cyphal-demos/main.c at main · r-map/Cyphal-demos · GitHub
Is not clear to me witch type I have to use for registers; now I use uavcan.register.Value.1.0 that is a union (is the union more memory expensive than a simple integer ?)
Can I use any type for registers or I have to use uavcan.register.Value.1.0 only?
Thanks in advance