portexpander.h 302 Bytes
Newer Older
1
2
3
4
#ifndef PORTEXPANDER_H
#define PORTEXPANDER_H

#include <stdint.h>
5
#include <stdbool.h>
6
7
8

void portexpander_init(void);
uint8_t portexpander_get(void);
9
void portexpander_set(uint8_t pin, uint8_t value);
10
void portexpander_set_mask(uint8_t mask, uint8_t values);
11
bool portexpander_detected(void);
12
13

#endif