Quellcodebibliothek Statistik Leitseite products/sources/formale Sprachen/C/Linux/drivers/gpio/   (Open Source Betriebssystem Version 6.17.9©)  Datei vom 24.10.2025 mit Größe 964 B image not shown  

Quelle  gpio-i8255.h   Sprache: C

 
/* SPDX-License-Identifier: GPL-2.0 */
/* Copyright 2022 William Breathitt Gray */
#ifndef _I8255_H_
#define _I8255_H_

struct device;
struct irq_domain;
struct regmap;

#define i8255_volatile_regmap_range(_base) regmap_reg_range(_base, _base + 0x2)

/**
 * struct i8255_regmap_config - Configuration for the register map of an i8255
 * @parent: parent device
 * @map: regmap for the i8255
 * @num_ppi: number of i8255 Programmable Peripheral Interface
 * @names: (optional) array of names for gpios
 * @domain: (optional) IRQ domain if the controller is interrupt-capable
 *
 * Note: The regmap is expected to have cache enabled and i8255 control
 * registers not marked as volatile.
 */

struct i8255_regmap_config {
 struct device *parent;
 struct regmap *map;
 int num_ppi;
 const char *const *names;
 struct irq_domain *domain;
};

int devm_i8255_regmap_register(struct device *dev,
          const struct i8255_regmap_config *config);

#endif /* _I8255_H_ */

Messung V0.5
C=95 H=99 G=96

¤ Dauer der Verarbeitung: 0.2 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.