uFCoder 2.62
Loading...
Searching...
No Matches

Functions

UFR_STATUS DL_API GetCustomUiConfig (uint8_t *idle_mode, uint8_t *card_detection_mode, uint8_t *idle_color, uint8_t *card_detection_color, uint8_t *enabled)
 *uFR Zero series readers only. Function to get custom RGB UI signalization
 
UFR_STATUS DL_API GetDisplayIntensity (VAR uint8_t *intensity)
 Function gets the intensity of light on the display. GetRgbIntensity (alias from version 5.0.55)
 
UFR_STATUS DL_API SetCustomUiConfig (uint8_t idle_mode, uint8_t card_detection_mode, uint8_t *idle_color, uint8_t *card_detection_color, uint8_t enabled)
 *uFR Zero series readers only. Function to set custom RGB UI signalization
 
UFR_STATUS DL_API SetDisplayData (IN uint8_t *display_data, uint8_t data_length)
 Function enables sending data to the display. A string of data contains information about the intensity of color in each cell of the display.
 
UFR_STATUS DL_API SetDisplayIntensity (uint8_t intensity)
 Function sets the intensity of light on the display.
 

Detailed Description

Function Documentation

◆ GetCustomUiConfig()

UFR_STATUS DL_API GetCustomUiConfig ( uint8_t * idle_mode,
uint8_t * card_detection_mode,
uint8_t * idle_color,
uint8_t * card_detection_color,
uint8_t * enabled )

*uFR Zero series readers only. Function to get custom RGB UI signalization

Parameters
idle_modepointer to idle mode value
card_detection_modepointer to card detection mode value
idle_colorpointer to idle color value(RGB)
card_detection_colorpointer to card detection color value(RGB)
enabledpointer to enabled flag
Returns
Operation status

◆ GetDisplayIntensity()

UFR_STATUS DL_API GetDisplayIntensity ( VAR uint8_t * intensity)

Function gets the intensity of light on the display. GetRgbIntensity (alias from version 5.0.55)

Parameters
intensityvalue of intensity (0 - 100)
Returns
Operation status

◆ SetCustomUiConfig()

UFR_STATUS DL_API SetCustomUiConfig ( uint8_t idle_mode,
uint8_t card_detection_mode,
uint8_t * idle_color,
uint8_t * card_detection_color,
uint8_t enabled )

*uFR Zero series readers only. Function to set custom RGB UI signalization

Parameters
idle_modeidle mode value
card_detection_modecard detection mode value
idle_coloridle color value(RGB)
card_detection_colorcard detection color value(RGB)
enabledenabled flag
Returns
Operation status

◆ SetDisplayData()

UFR_STATUS DL_API SetDisplayData ( IN uint8_t * display_data,
uint8_t data_length )

Function enables sending data to the display. A string of data contains information about the intensity of color in each cell of the display.

Each cell has three LED (red, green and blue). For each cell of the three bytes is necessary. The first byte indicates the intensity of the green color, the second byte indicates the intensity of the red color, and the third byte indicates the intensity of blue color. For example, if the display has 16 cells, an array contains 48 bytes. Value of intensity is in range from 0 to 255.

Parameters
display_datapointer to data array
data_lengthnumber of data into array
Returns
Operation status

◆ SetDisplayIntensity()

UFR_STATUS DL_API SetDisplayIntensity ( uint8_t intensity)

Function sets the intensity of light on the display.

Value of intensity is in the range 0 to 100. This value writes into the reader's EEPROM, and it loads when the reader starts up. SetRgbIntensity()(alias from version 5.0.55)

Parameters
intensityvalue of intensity (0 - 100)
Returns
Operation status