XMOS SliceKit GPIO Gpio Example Applications page 15

Table of Contents

Advertisement

SliceKit GPIO Example Applications
REV A
15/24
data = data
| 0
xE ;
p_led <:
data
;
break ;
case CLEAR_LED_1
:// Read port
Value and
Set LED 1
OFF
p_led : >
data
;
p_led <:
data
&0 x1
;
break ;
case SET_LED_2 :
// Read port
Value and
Set LED 2 ON
p_led : >
data
;
p_led <:
data
| 0
xD ;
break ;
case CLEAR_LED_2 :
// Read port
Value and
Set LED 2
OFF
p_led : >
data
;
p_led <:
data
&0 x2
;
break ;
case SET_LED_3 :
// Read port
Value and
Set LED 3 ON
p_led : >
data
;
p_led <:
data
| 0
xB ;

Advertisement

Table of Contents
loading

This manual is also suitable for:

Slicekit

Table of Contents