# modules/blm_scalar/blm_scalar.h File Reference

`#include <mios32_config.h>`

## Data Structures
struct | blm_scalar_config_t
## Defines
#define | BLM_SCALAR_NUM_MODULES 5
#define | BLM_SCALAR_NUM_COLOURS 2
## Functions
s32 | BLM_SCALAR_Init (u32 mode)
s32 | BLM_SCALAR_PrepareCol (void)
s32 | BLM_SCALAR_GetRow (void)
s32 | BLM_SCALAR_ButtonHandler (void *notify_hook)
s32 | BLM_SCALAR_DIN_PinGet (u32 pin)
u8 | BLM_SCALAR_DIN_SRGet (u32 sr)
s32 | BLM_SCALAR_PinSet (u32 colour, u32 pin, u32 value)
s32 | BLM_SCALAR_DOUT_PinSet (u32 colour, u32 pin, u32 value)
s32 | BLM_SCALAR_DOUT_PinGet (u32 colour, u32 pin)
s32 | BLM_SCALAR_DOUT_SRSet (u32 colour, u32 sr, u8 value)
u8 | BLM_SCALAR_DOUT_SRGet (u32 colour, u32 sr)
s32 | BLM_SCALAR_ConfigSet (blm_scalar_config_t config)
blm_scalar_config_t | BLM_SCALAR_ConfigGet (void)
## Variables
u8 | blm_scalar_led [BLM_SCALAR_NUM_MODULES][8][BLM_SCALAR_NUM_COLOURS]

## Define Documentation

#define BLM_SCALAR_NUM_COLOURS 2

#define BLM_SCALAR_NUM_MODULES 5

## Function Documentation

s32 BLM_SCALAR_PinSet | ( | u32 | colour,
|  | u32 | pin,
|  | u32 | value |
| ) |  |  |