Changed to use stdint types.
This commit is contained in:
@@ -64,7 +64,7 @@ LGPL License Terms @ref lgpl_license
|
||||
|
||||
/* --- GPIO registers ------------------------------------------------------ */
|
||||
|
||||
#define GPIO_DATA(port) ((volatile u32 *)(port + 0x000))
|
||||
#define GPIO_DATA(port) ((volatile uint32_t *)(port + 0x000))
|
||||
#define GPIO_DIR(port) MMIO32(port + 0x400)
|
||||
#define GPIO_IS(port) MMIO32(port + 0x404)
|
||||
#define GPIO_IBE(port) MMIO32(port + 0x408)
|
||||
@@ -88,8 +88,8 @@ LGPL License Terms @ref lgpl_license
|
||||
|
||||
BEGIN_DECLS
|
||||
|
||||
void gpio_set(u32 gpioport, u8 gpios);
|
||||
void gpio_clear(u32 gpioport, u8 gpios);
|
||||
void gpio_set(uint32_t gpioport, uint8_t gpios);
|
||||
void gpio_clear(uint32_t gpioport, uint8_t gpios);
|
||||
|
||||
END_DECLS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user