# shz_xmtrx_write

Source: https://sh4zam.com/api/xmtrx/shz_xmtrx_write/

> Sets the floating-point value held within the given XMTRX register to value

```c
SHZ_INLINE void shz_xmtrx_write(shz_xmtrx_reg_t xf, float value) SHZ_NOEXCEPT;
```

Sets the floating-point value held within the given XMTRX register to `value`.

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `xf` | `shz_xmtrx_reg_t` |  |
| `value` | `float` |  |

## Returns

Nothing (`void`).

## Availability

- **C++ equivalent:** none (call the C function from C++)
- **Type-generic form:** none
- **Back-ends:** SH4: dedicated SH4 implementation · SW: portable C · SPU: shared C implementation
- **Defined in:** [`sh4zam/shz_xmtrx.h:96`](https://github.com/gyrovorbis/sh4zam/blob/ba1e30c88d49df0311870b229e1dd860ef26c477/include/sh4zam/shz_xmtrx.h#L96)
- **Module:** [XMTRX](https://sh4zam.com/api/xmtrx/), section "Accessors"
