CHERIoT RTOS
A compartmentalised RTOS for CHERIoT hardware
Loading...
Searching...
No Matches
SonataPinmux::BlockSinks Struct Reference

A driver for the Sonata system's pin multiplexed block inputs. More...

#include <platform-pinmux.hh>

Inheritance diagram for SonataPinmux::BlockSinks:
Collaboration diagram for SonataPinmux::BlockSinks:

Public Member Functions

Sink< BlockSinkget (BlockSink sink) volatile
 Returns a handle to a block sink (a block input).

Public Attributes

volatile uint8_t registers [NumBlockSinks]

Detailed Description

A driver for the Sonata system's pin multiplexed block inputs.

The Sonata system's Pin Multiplexer (pinmux) has two sets of registers: the pin sink registers and the block sink registers. This structure provides access to the block sinks registers. Block sinks are inputs into the Sonata system's devices that can be connected to a number of system input pins (their sources). The sources each sink can connect to are limited. See the documentation for the possible sources for a given pin:

https://lowrisc.github.io/sonata-system/doc/ip/pinmux

Definition at line 411 of file platform-pinmux.hh.

Member Function Documentation

◆ get()

Sink< BlockSink > SonataPinmux::BlockSinks::get ( BlockSink sink) volatile
inline

Returns a handle to a block sink (a block input).

Definition at line 416 of file platform-pinmux.hh.

Member Data Documentation

◆ registers

volatile uint8_t SonataPinmux::BlockSinks::registers[NumBlockSinks]

Definition at line 413 of file platform-pinmux.hh.


The documentation for this struct was generated from the following file: