CMSIS-Driver: Signals

| CMSIS-Driver Version 2.8.0 Peripheral Interface for Middleware and Application Code

- Main Page
- Usage and Description
- Reference

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
Signals
Defines and Structs

Signal related defines. More...

## Macros

#define | vioLED0 (1U << 0)
| vioSetSignal mask parameter: LED 0 (for 3-color: red) More...
#define | vioLED1 (1U << 1)
| vioSetSignal mask parameter: LED 1 (for 3-color: green) More...
#define | vioLED2 (1U << 2)
| vioSetSignal mask parameter: LED 2 (for 3-color: blue) More...
#define | vioLED3 (1U << 3)
| vioSetSignal mask parameter: LED 3 More...
#define | vioLED4 (1U << 4)
| vioSetSignal mask parameter: LED 4 More...
#define | vioLED5 (1U << 5)
| vioSetSignal mask parameter: LED 5 More...
#define | vioLED6 (1U << 6)
| vioSetSignal mask parameter: LED 6 More...
#define | vioLED7 (1U << 7)
| vioSetSignal mask parameter: LED 7 More...
#define | vioLEDon (0xFFU)
| vioSetSignal signal parameter: pattern to turn any LED on More...
#define | vioLEDoff (0x00U)
| vioSetSignal signal parameter: pattern to turn any LED off More...
#define | vioBUTTON0 (1U << 0)
| vioGetSignal mask parameter: Push button 0 More...
#define | vioBUTTON1 (1U << 1)
| vioGetSignal mask parameter: Push button 1 More...
#define | vioBUTTON2 (1U << 2)
| vioGetSignal mask parameter: Push button 2 More...
#define | vioBUTTON3 (1U << 3)
| vioGetSignal mask parameter: Push button 3 More...
#define | vioJOYup (1U << 4)
| vioGetSignal mask parameter: Joystick button: up More...
#define | vioJOYdown (1U << 5)
| vioGetSignal mask parameter: Joystick button: down More...
#define | vioJOYleft (1U << 6)
| vioGetSignal mask parameter: Joystick button: left More...
#define | vioJOYright (1U << 7)
| vioGetSignal mask parameter: Joystick button: right More...
#define | vioJOYselect (1U << 8)
| vioGetSignal mask parameter: Joystick button: select More...
#define | vioJOYall
| vioGetSignal mask Joystick button: all More...

## Description

Signal related defines.

## Macro Definition Documentation

#define vioLED0 (1U << 0)

vioSetSignal mask parameter: LED 0 (for 3-color: red)

#define vioLED1 (1U << 1)

vioSetSignal mask parameter: LED 1 (for 3-color: green)

#define vioLED2 (1U << 2)

vioSetSignal mask parameter: LED 2 (for 3-color: blue)

#define vioLED3 (1U << 3)

vioSetSignal mask parameter: LED 3

#define vioLED4 (1U << 4)

vioSetSignal mask parameter: LED 4

#define vioLED5 (1U << 5)

vioSetSignal mask parameter: LED 5

#define vioLED6 (1U << 6)

vioSetSignal mask parameter: LED 6

#define vioLED7 (1U << 7)

vioSetSignal mask parameter: LED 7

#define vioLEDon (0xFFU)

vioSetSignal signal parameter: pattern to turn any LED on

#define vioLEDoff (0x00U)

vioSetSignal signal parameter: pattern to turn any LED off

#define vioBUTTON0 (1U << 0)

vioGetSignal mask parameter: Push button 0

#define vioBUTTON1 (1U << 1)

vioGetSignal mask parameter: Push button 1

#define vioBUTTON2 (1U << 2)

vioGetSignal mask parameter: Push button 2

#define vioBUTTON3 (1U << 3)

vioGetSignal mask parameter: Push button 3

#define vioJOYup (1U << 4)

vioGetSignal mask parameter: Joystick button: up

#define vioJOYdown (1U << 5)

vioGetSignal mask parameter: Joystick button: down

#define vioJOYleft (1U << 6)

vioGetSignal mask parameter: Joystick button: left

#define vioJOYright (1U << 7)

vioGetSignal mask parameter: Joystick button: right

#define vioJOYselect (1U << 8)

vioGetSignal mask parameter: Joystick button: select

#define vioJOYall

vioGetSignal mask Joystick button: all