PER Firmware
Loading...
Searching...
No Matches
switch.c File Reference

switch mappings and control code More...

#include "switch.h"
#include "main.h"
#include "phal_G4/gpio/gpio.h"
#include "rtos/rtos.h"
#include "utils/countof.h"
Include dependency graph for switch.c:

Functions

void SWITCH_enable (switch_id_t switch_id)
 
void SWITCH_disable (switch_id_t switch_id)
 
void SWITCH_enable_all ()
 

Variables

switch_t g_switches [NUM_SWITCHES]
 

Detailed Description

switch mappings and control code

Author
Irving Wang (irvin.nosp@m.gw@p.nosp@m.urdue.nosp@m..edu)

Function Documentation

◆ SWITCH_disable()

void SWITCH_disable ( switch_id_t switch_id)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SWITCH_enable()

void SWITCH_enable ( switch_id_t switch_id)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SWITCH_enable_all()

void SWITCH_enable_all ( void )
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ g_switches

switch_t g_switches[NUM_SWITCHES]