rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
Functions | Variables
rusefi_hw_pin_mode.h File Reference

Functions

enum __attribute__ ((__packed__))
 

Variables

 pin_mode_e
 

Function Documentation

◆ __attribute__()

enum __attribute__ ( (__packed__)  )

Definition at line 1 of file rusefi_hw_pin_mode.h.

3 {
4// todo: here we have a rare example of stm32-specific enum, todo: make this not stm32 specific?
5 PO_DEFAULT = 0,
6 PO_OPENDRAIN = 4, // PAL_STM32_OTYPE_OPENDRAIN
7 PO_PULLUP = 32, // PAL_STM32_PUDR_PULLUP
8 PO_PULLDOWN = 64 // PAL_STM32_PUPDR_PULLDOWN
9}

Variable Documentation

◆ pin_mode_e

pin_mode_e

Definition at line 9 of file rusefi_hw_pin_mode.h.

Go to the source code of this file.