nRF5 SDK v17.1.0
Data Fields
tile_song_module Struct Reference

#include <tile_song_module.h>

Data Fields

int(* play )(uint8_t number, uint8_t strength, uint8_t duration)
 
int(* stop )(void)
 
struct tile_song_tps_module_ttps_module
 

Detailed Description

Tile Song module.

This module is used to allow the Tile app to play a song on the device.

Field Documentation

int(* tile_song_module::play)(uint8_t number, uint8_t strength, uint8_t duration)

Play song with given index number with strength from 0-3.

int(* tile_song_module::stop)(void)

Stop all songs.

struct tile_song_tps_module_t* tile_song_module::tps_module

Optional TPS Module (set to NULL if not supported).


The documentation for this struct was generated from the following file:

Documentation feedback | Developer Zone | Subscribe | Updated