no-OS
Enumerations | Functions
led.h File Reference
#include <stdbool.h>
#include <stdint.h>
Include dependency graph for led.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  rj45_led {
  rj45_led_off,
  rj45_led_green,
  rj45_led_yellow
}
 

Functions

int led_init (void)
 
void led_tx_lock (bool on)
 
void led_rx_lock (bool on)
 
void led_tx_det_green (bool on)
 
void led_tx_det_red (bool on)
 
void led_rx_det_green (bool on)
 
void led_rx_det_red (bool on)
 
void led_rj45 (enum rj45_led state)
 
void led_blink_all (unsigned int times, unsigned int duration)
 

Enumeration Type Documentation

◆ rj45_led

enum rj45_led
Enumerator
rj45_led_off 
rj45_led_green 
rj45_led_yellow 

Function Documentation

◆ led_blink_all()

void led_blink_all ( unsigned int  times,
unsigned int  duration 
)
Here is the caller graph for this function:

◆ led_init()

int led_init ( void  )
Here is the caller graph for this function:

◆ led_rj45()

void led_rj45 ( enum rj45_led  state)
Here is the caller graph for this function:

◆ led_rx_det_green()

void led_rx_det_green ( bool  on)
Here is the caller graph for this function:

◆ led_rx_det_red()

void led_rx_det_red ( bool  on)
Here is the caller graph for this function:

◆ led_rx_lock()

void led_rx_lock ( bool  on)

◆ led_tx_det_green()

void led_tx_det_green ( bool  on)
Here is the caller graph for this function:

◆ led_tx_det_red()

void led_tx_det_red ( bool  on)
Here is the caller graph for this function:

◆ led_tx_lock()

void led_tx_lock ( bool  on)