MAX32665 SDK Documentation  0.2
Software Development Kit Overview and API Documentation
LED Board Support API

Macros

#define LED_OFF   1
 Define to turn off the LED. More...
 
#define LED_ON   0
 Define to turn on the LED. More...
 

Functions

int LED_Init (void)
 Initialize all LED pins. More...
 
void LED_On (unsigned int idx)
 Turn the specified LED on. More...
 
void LED_Off (unsigned int idx)
 Turn the specified LED off. More...
 
void LED_Toggle (unsigned int idx)
 Toggle the state of the specified LED. More...
 

Variables

const gpio_cfg_t led_pin []
 
const unsigned int num_leds
 

Detailed Description

Macro Definition Documentation

◆ LED_OFF

#define LED_OFF   1

◆ LED_ON

#define LED_ON   0

Function Documentation

◆ LED_Init()

int LED_Init ( void  )
Returns
E_NO_ERROR If all pins initalized.
Error Code Non-zero error code if unsuccessful.

◆ LED_On()

void LED_On ( unsigned int  idx)
Parameters
idxLED index

◆ LED_Off()

void LED_Off ( unsigned int  idx)
Parameters
idxLED index

◆ LED_Toggle()

void LED_Toggle ( unsigned int  idx)
Parameters
idxLED index