libsstvenc
Asynchronous Analogue SSTV encoder
Loading...
Searching...
No Matches
Collaboration diagram for CW modulator states:

Macros

#define SSTVENC_CW_MOD_STATE_INIT   (0)
 
#define SSTVENC_CW_MOD_STATE_NEXT_SYM   (1)
 
#define SSTVENC_CW_MOD_STATE_MARK   (2)
 
#define SSTVENC_CW_MOD_STATE_DITSPACE   (3)
 
#define SSTVENC_CW_MOD_STATE_DAHSPACE   (4)
 
#define SSTVENC_CW_MOD_STATE_DONE   (5)
 

Detailed Description

Macro Definition Documentation

◆ SSTVENC_CW_MOD_STATE_DAHSPACE

#define SSTVENC_CW_MOD_STATE_DAHSPACE   (4)

Modulator is transmitting a "space" the length of a 'dah'.

Definition at line 85 of file cw.h.

Referenced by sstvenc_cw_compute(), and sstvenc_cw_end_subsym().

◆ SSTVENC_CW_MOD_STATE_DITSPACE

#define SSTVENC_CW_MOD_STATE_DITSPACE   (3)

Modulator is transmitting a "space" the length of a 'dit'.

Definition at line 80 of file cw.h.

Referenced by sstvenc_cw_compute(), and sstvenc_cw_handle_state_mark().

◆ SSTVENC_CW_MOD_STATE_DONE

#define SSTVENC_CW_MOD_STATE_DONE   (5)

Modulator has finished transmitting the text string. sstvenc_cw_mod::output will emit zeros from now on.

Definition at line 91 of file cw.h.

Referenced by main(), sstvenc_cw_compute(), sstvenc_cw_fill_buffer(), sstvenc_cw_get_next_sym(), and sstvenc_sequencer_compute().

◆ SSTVENC_CW_MOD_STATE_INIT

#define SSTVENC_CW_MOD_STATE_INIT   (0)

Modulator is in the initial state. The value of sstvenc_cw_mod::output is not guaranteed to be meaningful at this point.

Definition at line 64 of file cw.h.

Referenced by sstvenc_cw_compute(), and sstvenc_cw_init().

◆ SSTVENC_CW_MOD_STATE_MARK

#define SSTVENC_CW_MOD_STATE_MARK   (2)

Modulator transmitting a "mark" (dah or dit).

Definition at line 75 of file cw.h.

Referenced by sstvenc_cw_compute(), sstvenc_cw_end_subsym(), and sstvenc_cw_get_next_sym().

◆ SSTVENC_CW_MOD_STATE_NEXT_SYM

#define SSTVENC_CW_MOD_STATE_NEXT_SYM   (1)

Modulator is to load the next symbol into the state machine on the next call to sstvenc_cw_compute.

Definition at line 70 of file cw.h.

Referenced by sstvenc_cw_compute(), and sstvenc_cw_end_symbol().