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

A driver for the Sonata system's pin multiplexed output pins. More...

#include <platform-pinmux.hh>

Inheritance diagram for SonataPinmux::PinSinks:
Collaboration diagram for SonataPinmux::PinSinks:

Public Member Functions

Sink< PinSinkget (PinSink sink) volatile
 Returns a handle to a pin sink (an output pin).

Public Attributes

volatile uint8_t registers [NumPinSinks]

Detailed Description

A driver for the Sonata system's pin multiplexed output pins.

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 pin sinks registers. Pin sinks are output onto the Sonata system's pins, which can be connected to a number of block outputs (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 388 of file platform-pinmux.hh.

Member Function Documentation

◆ get()

Sink< PinSink > SonataPinmux::PinSinks::get ( PinSink sink) volatile
inline

Returns a handle to a pin sink (an output pin).

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

Member Data Documentation

◆ registers

volatile uint8_t SonataPinmux::PinSinks::registers[NumPinSinks]

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


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