gpio.c File Reference

Kubos-HAL-MSP430F5529 - GPIO module. More...

#include "kubos-hal/gpio.h"
#include "msp430f5529-hal/gpio.h"
#include <stddef.h>
#include <msp430f5529.h>
#include <msp430.h>

Functions

void k_gpio_init (int pin, KGPIOMode mode, KGPIOPullup pullup)
 Initialize gpio pin to specified mode. More...
 
unsigned int k_gpio_read (int pin)
 Read in gpio pin. More...
 
void k_gpio_write (int pin, unsigned int val)
 Write to gpio pin. More...