mirror of https://github.com/ARMmbed/mbed-os.git
[NUCLEO_L053R8] Update GPIO structures
Due to latest registers map file used.pull/644/head
parent
1ad6757c9d
commit
340effa2c7
|
|
@ -43,9 +43,9 @@ extern "C" {
|
|||
typedef struct {
|
||||
PinName pin;
|
||||
uint32_t mask;
|
||||
__IO uint16_t *reg_in;
|
||||
__IO uint32_t *reg_in;
|
||||
__IO uint32_t *reg_set;
|
||||
__IO uint16_t *reg_clr;
|
||||
__IO uint32_t *reg_clr;
|
||||
} gpio_t;
|
||||
|
||||
static inline void gpio_write(gpio_t *obj, int value) {
|
||||
|
|
|
|||
|
|
@ -50,8 +50,8 @@ struct port_s {
|
|||
PortName port;
|
||||
uint32_t mask;
|
||||
PinDirection direction;
|
||||
__IO uint16_t *reg_in;
|
||||
__IO uint16_t *reg_out;
|
||||
__IO uint32_t *reg_in;
|
||||
__IO uint32_t *reg_out;
|
||||
};
|
||||
|
||||
struct analogin_s {
|
||||
|
|
|
|||
Loading…
Reference in New Issue