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 
19 #include "board.h"
20 
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24 
34 void pic_init(void);
35 
42 void 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.