mbgtools-lx
4.2.8
|
Typedefs | |
typedef uint8_t | PCPS_STATUS_PORT |
Type of the status register port. More... | |
#define | PCPS_ST_BUSY 0x01 |
Bit masks used with PCPS_STATUS_PORT. More... | |
#define | PCPS_ST_IRQF 0x02 |
the clock has generated an IRQ on the PC bus (ISA cards only) More... | |
#define | PCPS_ST_MOD 0x20 |
the raw demodulated DCF77 signal More... | |
#define | PCPS_ST_SEC 0x40 |
seconds have changed since last reading More... | |
#define | PCPS_ST_MIN 0x80 |
minutes have changed since last reading More... | |
The status port register on bus-level cards reflects some hardware signals (e.g. DCF-77 modulation), and flags used for communication with the card (e.g. the BUSY flag, PCPS_ST_BUSY).
#define PCPS_ST_BUSY 0x01 |
Bit masks used with PCPS_STATUS_PORT.
The flags PCPS_ST_SEC and PCPS_ST_MIN are cleared whenever the clock is read, so they are not very reliable in multitasking environments and thus should be considered as deprecated.
The PCPS_ST_IRQF flag was used with old ISA cards to check if the device has generated an IRQ. Some PCI cards also support this, but in case of PCI cards the associated flag of the PCI interface chip should be checked to see if a particular card has generated an IRQ on the PC bus.
The macro _pcps_ddev_has_gen_irq cares about this and should be used to determine in a portable way whether a card has generated an IRQ.
the clock is busy filling the output FIFO
Definition at line 452 of file pcpsdefs.h.
#define PCPS_ST_IRQF 0x02 |
the clock has generated an IRQ on the PC bus (ISA cards only)
Definition at line 453 of file pcpsdefs.h.
#define PCPS_ST_MIN 0x80 |
minutes have changed since last reading
Definition at line 456 of file pcpsdefs.h.
#define PCPS_ST_MOD 0x20 |
the raw demodulated DCF77 signal
Definition at line 454 of file pcpsdefs.h.
Referenced by show_modulation().
#define PCPS_ST_SEC 0x40 |
seconds have changed since last reading
Definition at line 455 of file pcpsdefs.h.
typedef uint8_t PCPS_STATUS_PORT |
Type of the status register port.
see PCPS_STATUS_PORT_BIT_MASKS
Definition at line 431 of file pcpsdefs.h.