BSP430  20141115
Board Support Package for MSP430 microcontrollers
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Data Fields
sBSP430timerMuxAlarm Struct Reference

#include <bsp430/periph/timer.h>

Data Fields

unsigned long setting_tck
 
iBSP430timerMuxAlarmCallback_ni callback_ni
 
struct sBSP430timerMuxAlarmnext
 

Detailed Description

Structure holding data for an individual multiplexed alarm. Instances of the structure are adopted by a shared alarm when added using iBSP430timerMuxAlarmAdd_ni(), and must not be mutated until the corresponding callback is invoked or the alarm is cancelled.

Field Documentation

iBSP430timerMuxAlarmCallback_ni sBSP430timerMuxAlarm::callback_ni

The callback to be invoked when the alarm goes off.

struct sBSP430timerMuxAlarm* sBSP430timerMuxAlarm::next

A link to the next alarm in a chain.

User code is only permitted to use this field when the structure is not owned by a shared multiplex alarm.

unsigned long sBSP430timerMuxAlarm::setting_tck

The time, in absolute ticks of the associated shared alarm, at which the alarm is due to fire.

The value must be set by the user prior to invoking iBSP430timerMuxAlarmAdd_ni(), and must not be modified until the alarm is cancelled or has fired.


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