Max OS 0.3
Loading...
Searching...
No Matches
MaxOS::drivers::clock::PITCommand Struct Reference

The command byte to send to the PIT, specifies the channel, access mode, operating mode and BCD mode. More...

#include <clock.h>

Public Attributes

uint8_t bcd_mode: 1
 0 = binary, 1 = BCD
 
uint8_t operating_mode: 3
 What mode the PIT should operate in.
 
uint8_t access_mode: 2
 How the data is accessed.
 
uint8_t channel: 2
 Which channel to configure.
 

Detailed Description

The command byte to send to the PIT, specifies the channel, access mode, operating mode and BCD mode.

Definition at line 75 of file clock.h.

Member Data Documentation

◆ access_mode

uint8_t MaxOS::drivers::clock::PITCommand::access_mode

How the data is accessed.

Definition at line 79 of file clock.h.

◆ bcd_mode

uint8_t MaxOS::drivers::clock::PITCommand::bcd_mode

0 = binary, 1 = BCD

Definition at line 77 of file clock.h.

◆ channel

uint8_t MaxOS::drivers::clock::PITCommand::channel

Which channel to configure.

Definition at line 80 of file clock.h.

◆ operating_mode

uint8_t MaxOS::drivers::clock::PITCommand::operating_mode

What mode the PIT should operate in.

Definition at line 78 of file clock.h.


The documentation for this struct was generated from the following file: