Zephyr Project API 3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
seagate_legend_b1414.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2021, Seagate Technology LLC
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#ifndef ZEPHYR_SAMPLES_DRIVERS_LED_B1414_H_
8#define ZEPHYR_SAMPLES_DRIVERS_LED_B1414_H_
9
10/*
11 * At 6 MHz: 1 bit in 166.666 ns
12 * 1200 ns -> 7.2 bits
13 * 300 ns -> 1.8 bits
14 * 900 ns -> 5.4 bits
15 */
16#define SPI_FREQ 6000000
17#define ZERO_FRAME 0x60
18#define ONE_FRAME 0x7C
19
20#endif