custom-uv-k5-firmware/driver/bk1080.h
2023-08-12 17:21:00 +01:00

30 lines
932 B
C

/* Copyright 2023 Dual Tachyon
* https://github.com/DualTachyon
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef DRIVER_BK1080_H
#define DRIVER_BK1080_H
#include <stdbool.h>
#include <stdint.h>
#include "driver/bk1080-regs.h"
void BK1080_Init(uint16_t Frequency, bool bDoScan);
void BK1080_WriteRegister(BK1080_REGISTER_t Register, uint16_t Value);
void BK1080_Mute(bool Mute);
#endif