ADF4360 - See http://mbed.org/forum/helloworld/topic/1430
Revision 2:e4d7ec6aeceb, committed 2010-11-22
- Comitter:
- AjK
- Date:
- Mon Nov 22 13:31:31 2010 +0000
- Parent:
- 1:4037b46f2040
- Commit message:
- 1.2
Changed in this revision
MODADF4360.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r 4037b46f2040 -r e4d7ec6aeceb MODADF4360.h --- a/MODADF4360.h Mon Nov 22 13:21:24 2010 +0000 +++ b/MODADF4360.h Mon Nov 22 13:31:31 2010 +0000 @@ -84,69 +84,134 @@ ~ADF4360() { delete(_le); delete(_ssp); }; - /** @ingroup Control_Latch */ + /** + * @ingroup Control_Latch + */ int prescalerValue(void) { GET_CNTL_LATCH(22,3); } - /** @ingroup Control_Latch */ + + /** + * @ingroup Control_Latch + */ void prescalerValue(int i) { SET_CNTL_LATCH(22,3UL,i); } - /** @ingroup Control_Latch */ + /** + * @ingroup Control_Latch + */ int powerDown2(void) { GET_CNTL_LATCH(21,1); } - /** @ingroup Control_Latch */ + + /** + * @ingroup Control_Latch + */ void powerDown2(int i) { SET_CNTL_LATCH(21,1UL,i); } - /** @ingroup Control_Latch */ + /** + * @ingroup Control_Latch + */ int powerDown1(void) { GET_CNTL_LATCH(20,1); } - /** @ingroup Control_Latch */ + + /** + * @ingroup Control_Latch + */ void powerDown1(int i) { SET_CNTL_LATCH(20,1UL,i); } - /** @ingroup Control_Latch */ + /** + * @ingroup Control_Latch + */ int currentSetting2(void) { GET_CNTL_LATCH(17,7); } - /** @ingroup Control_Latch */ + + /** + * @ingroup Control_Latch + */ void currentSetting2(int i) { SET_CNTL_LATCH(17,7UL,i); } - /** @ingroup Control_Latch */ + /** + * @ingroup Control_Latch + */ int currentSetting1(void) { GET_CNTL_LATCH(14,7); } - /** @ingroup Control_Latch */ + + /** + * @ingroup Control_Latch + */ void currentSetting1(int i) { SET_CNTL_LATCH(14,7UL,i); } - /** @ingroup Control_Latch */ + /** + * @ingroup Control_Latch + */ int outputPowerLevel(void) { GET_CNTL_LATCH(12,3); } - /** @ingroup Control_Latch */ + + /** + * @ingroup Control_Latch + */ void outputPowerLevel(int i) { SET_CNTL_LATCH(12,3UL,i); } - /** @ingroup Control_Latch */ + /** + * @ingroup Control_Latch + */ int muteTillLockDetect(void) { GET_CNTL_LATCH(11,1); } - /** @ingroup Control_Latch */ + + /** + * @ingroup Control_Latch + */ void muteTillLockDetect(int i) { SET_CNTL_LATCH(11,1UL,i); } - /** @ingroup Control_Latch */ + /** + * @ingroup Control_Latch + */ int cpGain(void) { GET_CNTL_LATCH(10,1); } - /** @ingroup Control_Latch */ + + /** + * @ingroup Control_Latch + */ void cpGain(int i) { SET_CNTL_LATCH(10,1UL,i); } - /** @ingroup Control_Latch */ + /** + * @ingroup Control_Latch + */ int cpOutput(void) { GET_CNTL_LATCH(9,1); } - /** @ingroup Control_Latch */ + + /** + * @ingroup Control_Latch + */ void cpOutput(int i) { SET_CNTL_LATCH(9,1UL,i); } - /** @ingroup Control_Latch */ + /** + * @ingroup Control_Latch + */ int phaseDetectPol(void) { GET_CNTL_LATCH(8,1); } - /** @ingroup Control_Latch */ + + /** + * @ingroup Control_Latch + */ void phaseDetectPol(int i) { SET_CNTL_LATCH(8,1UL,i); } - /** @ingroup Control_Latch */ + /** + * @ingroup Control_Latch + */ int muxControl(void) { GET_CNTL_LATCH(5,7); } - /** @ingroup Control_Latch */ + + /** + * @ingroup Control_Latch + */ void muxControl(int i) { SET_CNTL_LATCH(5,7UL,i); } - /** @ingroup Control_Latch */ + /** + * @ingroup Control_Latch + */ int counterReset(void) { GET_CNTL_LATCH(4,1); } - /** @ingroup Control_Latch */ + + /** + * @ingroup Control_Latch + */ void counterReset(int i) { SET_CNTL_LATCH(4,1UL,i); } - /** @ingroup Control_Latch */ + /** + * @ingroup Control_Latch + */ int corePowerLevel(void) { GET_CNTL_LATCH(2,3); } - /** @ingroup Control_Latch */ + + /** + * @ingroup Control_Latch + */ void corePowerLevel(int i) { SET_CNTL_LATCH(2,3UL,i); } void controlLatchWrite(void) { @@ -157,29 +222,54 @@ _le->write(1); } - /** @ingroup Counter_N_Latch */ + /** + * @ingroup Counter_N_Latch + */ int divideBy2Select(void) { GET_N_LATCH(23,1); } - /** @ingroup Counter_N_Latch */ + + /** + * @ingroup Counter_N_Latch + */ void divideBy2Select(int i) { SET_N_LATCH(23,1UL,i); } - /** @ingroup Counter_N_Latch */ + /** + * @ingroup Counter_N_Latch + */ int divideBy2(void) { GET_N_LATCH(22,1); } - /** @ingroup Counter_N_Latch */ + + /** + * @ingroup Counter_N_Latch + */ void divideBy2(int i) { SET_N_LATCH(22,1UL,i); } - /** @ingroup Counter_N_Latch */ + /** + * @ingroup Counter_N_Latch + */ int nCPGain(void) { GET_N_LATCH(21,1); } - /** @ingroup Counter_N_Latch */ + + /** + * @ingroup Counter_N_Latch + */ void nCPGain(int i) { SET_N_LATCH(21,1UL,i); } - /** @ingroup Counter_N_Latch */ + /** + * @ingroup Counter_N_Latch + */ int counterB(void) { GET_N_LATCH(8,0x1FFF); } - /** @ingroup Counter_N_Latch */ + + /** + * @ingroup Counter_N_Latch + */ void counterB(int i) { SET_N_LATCH(8,0x1FFFUL,i); } - /** @ingroup Counter_N_Latch */ + /** + * @ingroup Counter_N_Latch + */ int counterA(void) { GET_N_LATCH(2,0x1F); } - /** @ingroup Counter_N_Latch */ + + /** + * @ingroup Counter_N_Latch + */ void counterA(int i) { SET_N_LATCH(2,0x1FUL,i); } void counterNWrite(void) { @@ -190,29 +280,53 @@ _le->write(1); } - /** @ingroup Counter_R_Latch */ + /** + * @ingroup Counter_R_Latch + */ int bandSelectClock(void) { GET_R_LATCH(20,3); } - /** @ingroup Counter_R_Latch */ + /** + * @ingroup Counter_R_Latch + */ void bandSelectClock(int i) { SET_R_LATCH(20,3UL,i); } - /** @ingroup Counter_R_Latch */ + /** + * @ingroup Counter_R_Latch + */ int testModeBit(void) { GET_R_LATCH(19,1); } - /** @ingroup Counter_R_Latch */ + + /** + * @ingroup Counter_R_Latch + */ void testModeBit(int i) { SET_R_LATCH(19,1UL,i); } - /** @ingroup Counter_R_Latch */ + /** + * @ingroup Counter_R_Latch + */ int lockDetect(void) { GET_R_LATCH(18,1); } - /** @ingroup Counter_R_Latch */ + + /** + * @ingroup Counter_R_Latch + */ void lockDetect(int i) { SET_R_LATCH(18,1UL,i); } - /** @ingroup Counter_R_Latch */ + /** + * @ingroup Counter_R_Latch + */ int antiBacklash(void) { GET_R_LATCH(16,3); } - /** @ingroup Counter_R_Latch */ + + /** + * @ingroup Counter_R_Latch + */ void antiBacklash(int i) { SET_R_LATCH(16,3UL,i); } - /** @ingroup Counter_R_Latch */ + /** + * @ingroup Counter_R_Latch + */ int counterRef(void) { GET_R_LATCH(2,0x3FFF); } - /** @ingroup Counter_R_Latch */ + + /** + * @ingroup Counter_R_Latch + */ void counterRef(int i) { SET_R_LATCH(2,0x3FFFUL,i); } void counterRWrite(void) {