mirror of
https://github.com/holub/mame
synced 2025-05-19 12:18:56 +03:00
Resistance is given in KOhm in datasheet formula
This commit is contained in:
parent
e75096c538
commit
ceb0c0ac4a
@ -43,11 +43,11 @@ static attotime compute_duration(ttl74123_t *chip)
|
|||||||
switch (chip->intf->connection_type)
|
switch (chip->intf->connection_type)
|
||||||
{
|
{
|
||||||
case TTL74123_NOT_GROUNDED_NO_DIODE:
|
case TTL74123_NOT_GROUNDED_NO_DIODE:
|
||||||
duration = 0.28 * chip->intf->res * chip->intf->cap * (1.0 + (0.7 / chip->intf->res));
|
duration = 0.28 * chip->intf->res * chip->intf->cap * (1.0 + (700.0 / chip->intf->res));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case TTL74123_NOT_GROUNDED_DIODE:
|
case TTL74123_NOT_GROUNDED_DIODE:
|
||||||
duration = 0.25 * chip->intf->res * chip->intf->cap * (1.0 + (0.7 / chip->intf->res));
|
duration = 0.25 * chip->intf->res * chip->intf->cap * (1.0 + (700.0 / chip->intf->res));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case TTL74123_GROUNDED:
|
case TTL74123_GROUNDED:
|
||||||
|
Loading…
Reference in New Issue
Block a user