Landfall

Annotated pkg/devices/include/protocols.h

251:e0e3ba7f192c
9 months ago Paul Boddie Use unsigned long integer literals. cpm-library-improvements
paul@102 1
/*
paul@102 2
 * Interface protocols.
paul@102 3
 *
paul@152 4
 * Copyright (C) 2020, 2023 Paul Boddie <paul@boddie.org.uk>
paul@102 5
 *
paul@102 6
 * This program is free software; you can redistribute it and/or
paul@102 7
 * modify it under the terms of the GNU General Public License as
paul@102 8
 * published by the Free Software Foundation; either version 2 of
paul@102 9
 * the License, or (at your option) any later version.
paul@102 10
 *
paul@102 11
 * This program is distributed in the hope that it will be useful,
paul@102 12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
paul@102 13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
paul@102 14
 * GNU General Public License for more details.
paul@102 15
 *
paul@102 16
 * You should have received a copy of the GNU General Public License
paul@102 17
 * along with this program; if not, write to the Free Software
paul@102 18
 * Foundation, Inc., 51 Franklin Street, Fifth Floor,
paul@102 19
 * Boston, MA  02110-1301, USA
paul@102 20
 */
paul@102 21
paul@102 22
#pragma once
paul@102 23
paul@152 24
#define LANDFALL_ACTIVATION   0x1f01
paul@152 25
#define LANDFALL_BACKLIGHT    0x1f02
paul@152 26
#define LANDFALL_CPM          0x1f03
paul@152 27
#define LANDFALL_FRAMEBUFFER  0x1f04
paul@153 28
#define LANDFALL_KEYPAD       0x1f05
paul@152 29
#define LANDFALL_PWM          0x1f10
paul@152 30
#define LANDFALL_SPI          0x1f13
paul@113 31
paul@113 32
// vim: tabstop=2 expandtab shiftwidth=2