Loading...
Searching...
No Matches
pic.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2018 Bas Stottelaar <basstottelaar@gmail.com>
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
18
19#include "board.h"
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
34void pic_init(void);
35
42void pic_write(uint8_t addr, uint8_t value);
43
44#ifdef __cplusplus
45}
46#endif
47
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.