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
9#pragma once
10
21
22#include "board.h"
23
24#ifdef __cplusplus
25extern "C" {
26#endif
27
37void pic_init(void);
38
45void pic_write(uint8_t addr, uint8_t value);
46
47#ifdef __cplusplus
48}
49#endif
50
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.