Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
Fake LED controller

Fake LED controller driver API functions. More...

Data Structures

struct  fake_led_on_Fake
 Turn a fake LED controller LED on. More...
struct  fake_led_off_Fake
 Turn a fake LED controller LED off. More...
struct  fake_led_set_brightness_Fake
 Set brightness of a fake LED controller LED. More...
 Blink a fake LED controller LED. More...
struct  fake_led_get_info_Fake
 Get info of a fake LED controller LED. More...
struct  fake_led_set_color_Fake
 Set the color of a fake LED controller LED. More...
struct  fake_led_write_channels_Fake
 Write/update a strip of a fake LED controller LEDs. More...

Typedefs

typedef struct fake_led_on_Fake fake_led_on_Fake
 Turn a fake LED controller LED on.
typedef struct fake_led_off_Fake fake_led_off_Fake
 Turn a fake LED controller LED off.
typedef struct fake_led_set_brightness_Fake fake_led_set_brightness_Fake
 Set brightness of a fake LED controller LED.
typedef struct fake_led_blink_Fake fake_led_blink_Fake
 Blink a fake LED controller LED.
typedef struct fake_led_get_info_Fake fake_led_get_info_Fake
 Get info of a fake LED controller LED.
typedef struct fake_led_set_color_Fake fake_led_set_color_Fake
 Set the color of a fake LED controller LED.
typedef struct fake_led_write_channels_Fake fake_led_write_channels_Fake
 Write/update a strip of a fake LED controller LEDs.

Functions

void fake_led_on_reset (void)
int fake_led_on (const struct device *arg0, uint32_t arg1)
void fake_led_off_reset (void)
int fake_led_off (const struct device *arg0, uint32_t arg1)
void fake_led_set_brightness_reset (void)
int fake_led_set_brightness (const struct device *arg0, uint32_t arg1, uint8_t arg2)
void fake_led_blink_reset (void)
int fake_led_blink (const struct device *arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3)
void fake_led_get_info_reset (void)
int fake_led_get_info (const struct device *arg0, uint32_t arg1, const struct led_info **arg2)
void fake_led_set_color_reset (void)
int fake_led_set_color (const struct device *arg0, uint32_t arg1, uint8_t arg2, const uint8_t *arg3)
void fake_led_write_channels_reset (void)
int fake_led_write_channels (const struct device *arg0, uint32_t arg1, uint32_t arg2, const uint8_t *arg3)

Variables

fake_led_on_Fake fake_led_on_fake
fake_led_off_Fake fake_led_off_fake
fake_led_set_brightness_Fake fake_led_set_brightness_fake
fake_led_blink_Fake fake_led_blink_fake
fake_led_get_info_Fake fake_led_get_info_fake
fake_led_set_color_Fake fake_led_set_color_fake
fake_led_write_channels_Fake fake_led_write_channels_fake

Detailed Description

Fake LED controller driver API functions.

Typedef Documentation

◆ fake_led_blink_Fake

typedef struct fake_led_blink_Fake fake_led_blink_Fake

#include <zephyr/drivers/led/led_fake.h>

Blink a fake LED controller LED.

See also
led_blink

◆ fake_led_get_info_Fake

typedef struct fake_led_get_info_Fake fake_led_get_info_Fake

#include <zephyr/drivers/led/led_fake.h>

Get info of a fake LED controller LED.

See also
led_get_info

◆ fake_led_off_Fake

typedef struct fake_led_off_Fake fake_led_off_Fake

#include <zephyr/drivers/led/led_fake.h>

Turn a fake LED controller LED off.

See also
led_off

◆ fake_led_on_Fake

typedef struct fake_led_on_Fake fake_led_on_Fake

#include <zephyr/drivers/led/led_fake.h>

Turn a fake LED controller LED on.

See also
led_on

◆ fake_led_set_brightness_Fake

typedef struct fake_led_set_brightness_Fake fake_led_set_brightness_Fake

#include <zephyr/drivers/led/led_fake.h>

Set brightness of a fake LED controller LED.

See also
led_set_brightness

◆ fake_led_set_color_Fake

typedef struct fake_led_set_color_Fake fake_led_set_color_Fake

#include <zephyr/drivers/led/led_fake.h>

Set the color of a fake LED controller LED.

See also
led_set_color

◆ fake_led_write_channels_Fake

typedef struct fake_led_write_channels_Fake fake_led_write_channels_Fake

#include <zephyr/drivers/led/led_fake.h>

Write/update a strip of a fake LED controller LEDs.

See also
led_write_channels

Function Documentation

◆ fake_led_blink()

int fake_led_blink ( const struct device * arg0,
uint32_t arg1,
uint32_t arg2,
uint32_t arg3 )

◆ fake_led_blink_reset()

void fake_led_blink_reset ( void )

◆ fake_led_get_info()

int fake_led_get_info ( const struct device * arg0,
uint32_t arg1,
const struct led_info ** arg2 )

◆ fake_led_get_info_reset()

void fake_led_get_info_reset ( void )

◆ fake_led_off()

int fake_led_off ( const struct device * arg0,
uint32_t arg1 )

◆ fake_led_off_reset()

void fake_led_off_reset ( void )

◆ fake_led_on()

int fake_led_on ( const struct device * arg0,
uint32_t arg1 )

◆ fake_led_on_reset()

void fake_led_on_reset ( void )

◆ fake_led_set_brightness()

int fake_led_set_brightness ( const struct device * arg0,
uint32_t arg1,
uint8_t arg2 )

◆ fake_led_set_brightness_reset()

void fake_led_set_brightness_reset ( void )

◆ fake_led_set_color()

int fake_led_set_color ( const struct device * arg0,
uint32_t arg1,
uint8_t arg2,
const uint8_t * arg3 )

◆ fake_led_set_color_reset()

void fake_led_set_color_reset ( void )

◆ fake_led_write_channels()

int fake_led_write_channels ( const struct device * arg0,
uint32_t arg1,
uint32_t arg2,
const uint8_t * arg3 )

◆ fake_led_write_channels_reset()

void fake_led_write_channels_reset ( void )

Variable Documentation

◆ fake_led_blink_fake

fake_led_blink_Fake fake_led_blink_fake
extern

◆ fake_led_get_info_fake

fake_led_get_info_Fake fake_led_get_info_fake
extern

◆ fake_led_off_fake

fake_led_off_Fake fake_led_off_fake
extern

◆ fake_led_on_fake

fake_led_on_Fake fake_led_on_fake
extern

◆ fake_led_set_brightness_fake

fake_led_set_brightness_Fake fake_led_set_brightness_fake
extern

◆ fake_led_set_color_fake

fake_led_set_color_Fake fake_led_set_color_fake
extern

◆ fake_led_write_channels_fake

fake_led_write_channels_Fake fake_led_write_channels_fake
extern