blob: bf9ac425046f4bda56aa057d5d10cf85dfc1bb98 [file] [log] [blame]
/*
* Copyright (c) 2022 Microchip Technology Inc. and its subsidiaries.
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef _MEC_GPIO_H
#define _MEC_GPIO_H
#include <stdint.h>
#include <stddef.h>
/** @brief All GPIO register as arrays of registers */
struct gpio_regs {
volatile uint32_t CTRL[174];
uint32_t RESERVED[18];
volatile uint32_t PARIN[6];
uint32_t RESERVED1[26];
volatile uint32_t PAROUT[6];
uint32_t RESERVED2[20];
volatile uint32_t LOCK[6];
uint32_t RESERVED3[64];
volatile uint32_t CTRL2[174];
};
#endif /* #ifndef _MEC_GPIO_H */