0.3.1

Typedefs

typedef void(* scu_timer_ihr_t) (void)
 Callback type.
 

Functions

static void scu_timer_t0_value_set (uint16_t value)
 Set the compare value for SCU timer #0.
 
static void scu_timer_t1_value_set (uint16_t value)
 Set the compare value for SCU timer #1.
 
static void scu_timer_disable (void)
 Disable SCU timers.
 
static void scu_timer_enable (void)
 Enable SCU timers.
 
static void scu_timer_line_enable (void)
 Set behavior of the SCU timer #1 interrupt to occur at lines indicated by SCU timer #0.
 
static void scu_timer_line_disable (void)
 Set behavior of the SCU timer #1 interrupt to occur at every line.
 

Detailed Description

Description goes here.

Detailed description goes here.

Typedef Documentation

◆ scu_timer_ihr_t

typedef void(* scu_timer_ihr_t) (void)

Callback type.

See also
scu_timer_t0_set
scu_timer_t1_set

Function Documentation

◆ scu_timer_t0_value_set()

static void scu_timer_t0_value_set ( uint16_t  value)
inlinestatic

Set the compare value for SCU timer #0.

Parameters
valueThe 2-byte compare value.

◆ scu_timer_t1_value_set()

static void scu_timer_t1_value_set ( uint16_t  value)
inlinestatic

Set the compare value for SCU timer #1.

Parameters
valueThe 2-byte compare value.

◆ scu_timer_line_enable()

static void scu_timer_line_enable ( void  )
inlinestatic

Set behavior of the SCU timer #1 interrupt to occur at lines indicated by SCU timer #0.

This function also enables the SCU timers.

See also
scu_timer_line_disable

◆ scu_timer_line_disable()

static void scu_timer_line_disable ( void  )
inlinestatic

Set behavior of the SCU timer #1 interrupt to occur at every line.

This function also enables the SCU timers. To turn timers on/off, use scu_timer_enable and scu_timer_disable.

See also
scu_timer_line_enable