Generic macro function to set register value.
Returns macro to set register value (4-byte integer).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | register |
Register name. |
||
| integer(kind=i4), | intent(in) | :: | value |
Register value. |
||
| character(len=*), | intent(in), | optional | :: | unit |
Optional unit. |
Output string.
Returns macro to set register value (4-byte real).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | register |
Register name. |
||
| real(kind=r4), | intent(in) | :: | value |
Register value. |
||
| character(len=*), | intent(in), | optional | :: | unit |
Optional unit. |
Output string.