LightHub 4.6.0
Open-source smart home controller firmware
Loading...
Searching...
No Matches
variant.cpp File Reference
#include "variant.h"

Functions

UARTClass Serial (UART, UART_IRQn, ID_UART, &rx_buffer1, &tx_buffer1)
void serialEvent () __attribute__((weak))
void UART_Handler (void)
USARTClass Serial1 (USART0, USART0_IRQn, ID_USART0, &rx_buffer2, &tx_buffer2)
void serialEvent1 () __attribute__((weak))
USARTClass Serial2 (USART1, USART1_IRQn, ID_USART1, &rx_buffer3, &tx_buffer3)
void serialEvent2 () __attribute__((weak))
USARTClass Serial3 (USART3, USART3_IRQn, ID_USART3, &rx_buffer4, &tx_buffer4)
void serialEvent3 () __attribute__((weak))
void USART0_Handler (void)
void USART1_Handler (void)
void USART3_Handler (void)
void serialEventRun (void)
void __libc_init_array (void)
void init (void)

Variables

const PinDescription g_APinDescription []
uint8_t g_pinStatus [PINS_COUNT] = {0}
RingBuffer rx_buffer1
RingBuffer tx_buffer1
RingBuffer rx_buffer2
RingBuffer rx_buffer3
RingBuffer rx_buffer4
RingBuffer tx_buffer2
RingBuffer tx_buffer3
RingBuffer tx_buffer4

Function Documentation

◆ __libc_init_array()

void __libc_init_array ( void )

◆ init()

void init ( void )

◆ Serial()

UARTClass Serial ( UART ,
UART_IRQn ,
ID_UART ,
& rx_buffer1,
& tx_buffer1 )

◆ Serial1()

USARTClass Serial1 ( USART0 ,
USART0_IRQn ,
ID_USART0 ,
& rx_buffer2,
& tx_buffer2 )

◆ Serial2()

USARTClass Serial2 ( USART1 ,
USART1_IRQn ,
ID_USART1 ,
& rx_buffer3,
& tx_buffer3 )

◆ Serial3()

USARTClass Serial3 ( USART3 ,
USART3_IRQn ,
ID_USART3 ,
& rx_buffer4,
& tx_buffer4 )

◆ serialEvent()

void serialEvent ( )

◆ serialEvent1()

void serialEvent1 ( )

◆ serialEvent2()

void serialEvent2 ( )

◆ serialEvent3()

void serialEvent3 ( )

◆ serialEventRun()

void serialEventRun ( void )

◆ UART_Handler()

void UART_Handler ( void )

◆ USART0_Handler()

void USART0_Handler ( void )

◆ USART1_Handler()

void USART1_Handler ( void )

◆ USART3_Handler()

void USART3_Handler ( void )

Variable Documentation

◆ g_APinDescription

const PinDescription g_APinDescription[]
extern

◆ g_pinStatus

uint8_t g_pinStatus[PINS_COUNT] = {0}

◆ rx_buffer1

RingBuffer rx_buffer1

◆ rx_buffer2

RingBuffer rx_buffer2

◆ rx_buffer3

RingBuffer rx_buffer3

◆ rx_buffer4

RingBuffer rx_buffer4

◆ tx_buffer1

RingBuffer tx_buffer1

◆ tx_buffer2

RingBuffer tx_buffer2

◆ tx_buffer3

RingBuffer tx_buffer3

◆ tx_buffer4

RingBuffer tx_buffer4