PIT::Mode Union Reference
Public Member Functions | |
| Mode (uint8_t value) | |
| Constructor for mode, takes the numeric value. | |
| Mode (AccessMode access, OperatingMode operating, Format format) | |
| Constructor for counting mode. More... | |
| Mode () | |
| (Default) constructor for reading the counter value | |
| void | write () const |
| Write the value to the mode register. | |
Public Attributes | |
| struct { | |
| Format | format: 1 |
| OperatingMode | operating: 3 |
| AccessMode | access: 2 |
| uint8_t | channel: 2 |
| }; | |
| uint8_t | value |
Constructor & Destructor Documentation
|
inline |
Constructor for counting mode.
- Parameters
-
access Access mode to the 16-bit counter value operating Operating mode for the counter format Number format for the 16-bit counter values (binary or BCD)
The documentation for this union was generated from the following file:
- machine/pit.cc