One
Pulse
| |
+ +-----+ +-----+ +-----+
! ! ! ! ! !
0 ----+ +-----+ +-----+ +---- <-- Wave form sent to the Speaker
.
| |
| "gate"
| is turned OFF here
"gate"
is turned ON here
43H Write: set channel's mode of operation
╓7┬6┬5┬4┬3┬2┬1┬0╖
║ch#│r/l│mode │ ║
╙─┴─┴─┴─┴─┴─┴─┴╥╜ bits mask
└╥┘ └╥┘ └─╥─┘ ╚═► 0: 01H 0=process count as binary
║ ║ ║ 1=process counts as BCD▲
║ ║ ╚═════►1-3: 0eH select timer mode:
║ ║ 000 = mode 0: interrupt on terminal count
║ ║ 001 = mode 1: programmable one-shot
║ ║ x10 = mode 2: rate generator
║ ║ x11 = mode 3: square-wave rate generator
║ ║ 100 = mode 4: software-triggered strobe
║ ║ 101 = mode 5: hardware-triggered strobe
║ ╚══════════►4-5: 30H select read/load sequence:
║ 00 = latch counter for stable read
║ 01 = read/load most significant byte only
║ 10 = read/load least significant byte only
║ 11 = read/load LSB then MSB
╚══════════════►6-7: c0H specify counter to affect:
00 = counter 0, 01= counter 1
10 = counter 2, 11= counter 3
some_project
|- some_project
| |-- settings.py
| |-- urls.py
| |-- wsgi.py
|
|-- app1
| |-- management/
| |-- migrations/
| |-- templates/
| |-- admin.py
| |-- apps.py
| |-- forms.py
| |-- models.py
| |-- tasks.py
| |-- urls.py
| |-- views.py
|
|-- app2/
|-- app3/
|- manage.py