Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
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
26
extern
"C"
{
27
#endif
28
38
void
pic_init
(
void
);
39
46
void
pic_write
(uint8_t addr, uint8_t value);
47
48
#ifdef __cplusplus
49
}
50
#endif
51
52
#endif
/* PIC_H */
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 Sun Dec 22 2024 13:48:31 by
1.9.8