REDAC HybridController
Firmware for LUCIDAC/REDAC Teensy
Loading...
Searching...
No Matches
io Namespace Reference

Functions

void init ()
 
bool get_button ()
 
void block_until_button_press_and_release ()
 

Variables

constexpr uint8_t PIN_BUTTON = 29
 
constexpr uint8_t PIN_DIO_6 = 31
 
constexpr uint8_t PIN_DIO_11 = 0
 
constexpr uint8_t PIN_DIO_12 = 38
 
constexpr uint8_t PIN_DIO_13 = 13
 
constexpr uint8_t PIN_DIO_23 = 1
 
constexpr uint8_t PIN_DIO_28 = 33
 
constexpr uint8_t PIN_RESERVED_7 = 30
 

Function Documentation

◆ block_until_button_press_and_release()

FLASHMEM void io::block_until_button_press_and_release ( )

Definition at line 21 of file io.cpp.

References get_button().

◆ get_button()

bool io::get_button ( )

Definition at line 18 of file io.cpp.

References PIN_BUTTON.

Referenced by block_until_button_press_and_release().

◆ init()

FLASHMEM FLASHMEM void io::init ( )

Definition at line 12 of file io.cpp.

References PIN_BUTTON, PIN_DIO_11, PIN_DIO_12, PIN_DIO_13, PIN_DIO_23, PIN_DIO_28, PIN_DIO_6, and PIN_RESERVED_7.

Variable Documentation

◆ PIN_BUTTON

uint8_t io::PIN_BUTTON = 29
constexpr

Definition at line 10 of file io.h.

Referenced by get_button(), and init().

◆ PIN_DIO_11

uint8_t io::PIN_DIO_11 = 0
constexpr

Definition at line 13 of file io.h.

Referenced by init().

◆ PIN_DIO_12

uint8_t io::PIN_DIO_12 = 38
constexpr

Definition at line 14 of file io.h.

Referenced by init().

◆ PIN_DIO_13

uint8_t io::PIN_DIO_13 = 13
constexpr

Definition at line 15 of file io.h.

Referenced by init().

◆ PIN_DIO_23

uint8_t io::PIN_DIO_23 = 1
constexpr

Definition at line 16 of file io.h.

Referenced by init().

◆ PIN_DIO_28

uint8_t io::PIN_DIO_28 = 33
constexpr

Definition at line 17 of file io.h.

Referenced by init().

◆ PIN_DIO_6

uint8_t io::PIN_DIO_6 = 31
constexpr

Definition at line 11 of file io.h.

Referenced by init().

◆ PIN_RESERVED_7

uint8_t io::PIN_RESERVED_7 = 30
constexpr

Definition at line 18 of file io.h.

Referenced by init().