| PDL for FM0+ Version1.0 Peripheral Driverl Library for FM0+

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

Defines | Functions
C:/pdl_v10/library/driver/cr/cr.c File Reference
`#include "cr.h"`
Include dependency graph for cr.c:

Go to the source code of this file.

## Defines
#define | CR_REG_UNLOCK_CODE 0x1ACCE554
#define | CR_REG_LOCK_CODE 0
## Functions
en_result_t | Cr_SetFreqDiv (en_cr_freq_div_t enCrDiv)
| Set the frequency division of CR output to Base timer.
en_result_t | Cr_SetTempTrimmingData (uint8_t u8Data)
| Set CR temperature trimming register.
uint8_t | Cr_GetTempTrimmingData (void)
| Get CR temperature trimming register.
en_result_t | Cr_SetFreqTrimmingData (uint16_t u16Data)
| Set CR frequency trimming register.
uint16_t | Cr_GetFreqTrimmingData (void)
| Get frequency trimming register.

## Detailed Description

A detailed description is available at CR Module description

History:

- 2014-02-21 0.1 Edison Zhang First version.

Definition in file cr.c.