SPRABA5D January 2014 – January 2019 AM1802 , AM1802 , AM1806 , AM1806 , AM1808 , AM1808 , AM1810 , AM1810
The pinmux configuration function can be used multiple times to set the state of the 20 system pinmux registers during the boot process.
31 | 0 | ||
Arg1 | REGNUM | ||
Arg2 | MASK | ||
Arg3 | VALUE | ||
Bit | Field | Value | Description | |
---|---|---|---|---|
Arg1 | 31-0 | REGNUM | Pinmux register number (0-19) | |
Arg2 | 31-0 | MASK | Register mask to select which bits of the register are modified | |
Arg3 | 31-0 | VALUE | The value (filtered by the mask) to apply to the register |
The function applies to the pinmux register value as follows:
Pinmux[REGNUM] = (Pinmux[REGNUM] & ~MASK) | (MASK & VALUE)