|
PER Firmware
|
Functions | |
| bool | LED_control (int led, enum LED_state state) |
| Set, clear, or toggle a specified LED pin. | |
| void | LED_periodic () |
| Periodic LED function that toggles LEDs that need to be toggled. | |
| uint8_t | get_LED_status (int led) |
| Get the status of a specified LED pin. | |
Variables | |
| SPI_InitConfig_t | spi_config |
| uint16_t | LED_control_data = 0x0000 |
| uint16_t | LED_toggle = 0x0000 |
| uint8_t get_LED_status | ( | int | led | ) |
Get the status of a specified LED pin.
| led | LED driver pin |
| bool LED_control | ( | int | led, |
| enum LED_state | state ) |
Set, clear, or toggle a specified LED pin.
| spi | SPI hande |
| led | LED driver pin |
| state | Desired state of the LED : SET, CLEAR, or TOGGLE |
| void LED_periodic | ( | ) |
Periodic LED function that toggles LEDs that need to be toggled.
return