beautypg.com

8 swu [1 ] - switch up, 9 swp - poll dip switches, 10 off_hook - daa off hook – Cirrus Logic CDB6422 User Manual

Page 10: 11 on_hook - daa on hook, 12 d_reset - dtmf transceiver reset, 13 doff - dtmf transmit off, 14 dtmf [x] - dtmf transmit on, 15 kd [0..e] - keypad down event, 16 ku [0..e] - keypad up event, 17 st [x] - single tone transmit on

background image

CDB6422

10

DS295DB2

1. Saves the current state of the CS6422

register(s) bits to be changed in eeprom

2. Configures the CS6422 register(s) ac-

cording to the switch function

3.2.8

swu [1..9] - Switch Up

A. Notifies microcontroller that DIP

switch(es) 1..9 have been switched up (han-
dles multiple switches)

B. No MSG Stack pushes

C. Description:

Returns the CS6422 register(s) to the state
prior to the the respective 'swd' event

3.2.9

swp - Poll Dip Switches

A. Polls the DIP switches (assumes all

switches are down) and pushes “swu [1..8]”
onto the MSGStack to reflect the current
state of the DIP switches

B. No arguments accepted

3.2.10

off_hook - DAA Off Hook

A. Places DAA OFF-HOOK (enables net-

work connection)

B. No arguments accepted

C. No MSG Stack pushes

3.2.11

on_hook - DAA On Hook

A. Places DAA ON-HOOK (disconnects

the call)

B. No arguments accepted

C. No MSG Stack pushes

3.2.12

d_reset - DTMF Transceiver Reset

A. Resets the DTMF transceiver

B. No arguments accepted

C. No MSG Stack pushes

3.2.13

doff - DTMF Transmit Off

A. Stops transmission of any tone from the

DTMF transceiver (dual and single tones).

B. No arguments accepted

C. No MSG Stack pushes

3.2.14

dtmf [x] - DTMF Transmit On

A. Causes DTMF Transceiver to transmit

tone associated with a telephone key 'x'

B. No MSG Stack pushes

3.2.15

kd [0..e] - Keypad Down Event

A. Message indicating that key(s) [0..e] are

being pressed

B. Pushes to MSG Stack depending on

Keypad Mode (DTMF, LOAD, RECALL,
STORE)

3.2.16

ku [0..e] - Keypad Up Event

A. Message indicating that key(s) [0..e]

have been released

B. Pushes to MSG Stack depend on Keypad

Mode (DTMF, LOAD, RECALL, STORE)

3.2.17

st [x] - Single Tone Transmit On

A. Tells the DTMF transceiver to transmit

a single tone of frequency associated with
integer 'x' (see table below)

B. No pushes to MSG Stack

3.2.18

pd [1..4] - Push Button Down Event

A. Message indicating that push button(s)

[1..4] have been pressed

B. Pushes to MSG Stack are according to

button number:

Button 1 - 6422_RST - initiates a CS6422

reset

Button 2 - LOAD

1st push: next 4 'kd [x]' events will