piSmasher Configuration Libraries
piSmasher peripheral device configuration libraries
clk_wiz.h File Reference

Clocking Wizard Userspace I/O Driver FreeBSD. More...

Go to the source code of this file.

Data Structures

struct  clk_wiz_dev
 

Enumerations

enum  clk_wiz_mode { CLK_WIZ_MODE_720p = 0, CLK_WIZ_MODE_1080p, CLK_WIZ_MODE_WXGA }
 

Functions

int clk_wiz_init (struct clk_wiz_dev *dev, const char *devname)
 Video Timing Controller Initialization.
 
int clk_wiz_config (struct clk_wiz_dev *dev, enum clk_wiz_mode mode)
 

Detailed Description

Clocking Wizard Userspace I/O Driver FreeBSD.

Author
R. Bush bush@.nosp@m.krtk.nosp@m.l.com
Version
0.1
Date
August 6, 2018 Copyright (c) 2018, krtkl inc. All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

The views and conclusions contained in the software and documentation are those of the authors and should not be interpreted as representing official policies, either expressed or implied, of the FreeBSD Project.

Enumeration Type Documentation

◆ clk_wiz_mode

Enumerator
CLK_WIZ_MODE_720p 

Video mode 720P

CLK_WIZ_MODE_1080p 

Video mode 1080P

CLK_WIZ_MODE_WXGA 

Video mode WXGA

53  {
54  CLK_WIZ_MODE_720p = 0,
Definition: clk_wiz.h:55
Definition: clk_wiz.h:53
Definition: clk_wiz.h:54