soc: npcx: extend group field of struct npcx_alt to 8-bit
In npcx9, the number of pinmux registers (DEVALTx) is more than 16. We need to extend the "group" member in the struct npcx_ALT to configure the pinmux settings in npcx9. Signed-off-by: Jun Lin <CHLin56@nuvoton.com> Signed-off-by: Mulin Chao <mlchao@nuvoton.com>
This commit is contained in:
parent
98fcff6508
commit
358a61e83c
1 changed files with 2 additions and 1 deletions
|
@ -18,9 +18,10 @@ extern "C" {
|
|||
* pin-muxing and its polarity to enable alternative functionality.
|
||||
*/
|
||||
struct npcx_alt {
|
||||
uint8_t group:4;
|
||||
uint8_t group;
|
||||
uint8_t bit:3;
|
||||
uint8_t inverted:1;
|
||||
uint8_t reserved:4;
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue