Loading...
Searching...
No Matches
pic.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2018 Bas Stottelaar <basstottelaar@gmail.com>
3 *
4 * This file is subject to the terms and conditions of the GNU Lesser
5 * General Public License v2.1. See the file LICENSE in the top level
6 * directory for more details.
7 */
8
20#ifndef PIC_H
21#define PIC_H
22
23#include "board.h"
24
25#ifdef __cplusplus
26extern "C" {
27#endif
28
38void pic_init(void);
39
46void pic_write(uint8_t addr, uint8_t value);
47
48#ifdef __cplusplus
49}
50#endif
51
52#endif /* PIC_H */
void pic_write(uint8_t addr, uint8_t value)
Write data to the power-and-interrupt controller.
void pic_init(void)
Initialize the power-and-interrupt controller.