Skip to main content

Alternate Enum

Package: GHIElectronics.Endpoint.Core
Namespace: GHIElectronics.Endpoint.Core

Alternate functions AF0..AF15 for the pin's AFRL / AFRH register.

class Alternate(IntEnum): ...

Remarks​

The processor's reference manual lists which peripheral each AF selects per pin. Alternate.NONE means "no alternate function set".

Fields​

NameValue
AF00
AF11
AF22
AF33
AF44
AF55
AF66
AF77
AF88
AF99
AF1010
AF1111
AF1212
AF1313
AF1414
AF1515
NONE-1