PU2CLR QN8066 Arduino Library 1.3.0
Arduino Library for QN8066Devices - By Ricardo Lima Caratti
|
Functions | |
uint8_t | QN8066::getFsmStateCode () |
Get the FSM State Code. | |
void | QN8066::resetFsm () |
Resets the state to initial states and recalibrate all blocks. | |
void | QN8066::setStnby (bool value) |
Request Immediately enter Standby mode whatever state chip is in. | |
uint8_t QN8066::getFsmStateCode | ( | ) |
Get the FSM State Code.
The table below shows the FSM status and description
FSM Status | Description |
---|---|
0 - 0000 | STBY |
1 - 0001 | RESET |
2 - 0010 | CALI |
3 - 0011 | IDLE |
4 - 0100 | CALIPLL |
5 - 0101 | Reserved |
6 - 0110 | Reserved |
7 - 0111 | TXPLLC |
8 - 1000 | TX_RSTB |
9 - 1001 | PACAL |
10 - 1010 | TRANSMIT |
11 - 1011 | TXCCA |
Others | Reserved |
Example
void QN8066::resetFsm | ( | ) |
Resets the state to initial states and recalibrate all blocks.
Reset the FSM. After this bit is de-asserted, FSM will go through all the power up and calibration sequence.
void QN8066::setStnby | ( | bool | value | ) |
Request Immediately enter Standby mode whatever state chip is in.
Note: “stnby” has the highest priority.
value | - true or false |