Sound Byte Libs 29c5ff3
C++ firmware library for audio applications on 32-bit ARM Cortex-M processors
Loading...
Searching...
No Matches
Namespaces | Functions | Variables
cdc.cpp File Reference
#include "cdc.hpp"
#include "tusb.h"
#include <cstring>
Include dependency graph for cdc.cpp:

Go to the source code of this file.

Namespaces

namespace  sbl
 Root namespace for all Sound Byte Libs functionality.
 
namespace  sbl::usb
 USB device support.
 

Functions

void tud_cdc_line_state_cb (uint8_t itf, bool dtr, bool rts)
 

Variables

static bool s_last_ready = false
 
static volatile bool s_dtr_rose = false
 

Function Documentation

◆ tud_cdc_line_state_cb()

void tud_cdc_line_state_cb ( uint8_t  itf,
bool  dtr,
bool  rts 
)

Definition at line 16 of file cdc.cpp.

References s_dtr_rose.

Variable Documentation

◆ s_dtr_rose

volatile bool s_dtr_rose = false
static

Definition at line 14 of file cdc.cpp.

Referenced by sbl::usb::CdcSerial::just_connected(), and tud_cdc_line_state_cb().

◆ s_last_ready

bool s_last_ready = false
static

Definition at line 13 of file cdc.cpp.

Referenced by sbl::usb::CdcSerial::just_connected().