Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
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
pic_write
void pic_write(uint8_t addr, uint8_t value)
Write data to the power-and-interrupt controller.
pic_init
void pic_init(void)
Initialize the power-and-interrupt controller.
Generated on Thu Jul 24 2025 16:03:56 by
1.9.1