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

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

Typedefs | Enumerations | Functions
C:/pdl_v10/library/driver/cr/cr.h File Reference
`#include "mcu.h"`
`#include "pdl_user.h"`
Include dependency graph for cr.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Typedefs
typedef enum en_cr_freq_div | en_cr_freq_div_t
| Enumeration of CR dividor.
## Enumerations
enum | en_cr_freq_div { CrFreqDivBy4 = 0, CrFreqDivBy8, CrFreqDivBy16, CrFreqDivBy32, CrFreqDivBy64, CrFreqDivBy128, CrFreqDivBy256, CrFreqDivBy512 }
| Enumeration of CR dividor. More...
## 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

Headerfile for CR functions

History:

- 2014-02-11 1.0 Edison Zhang First version.

Definition in file cr.h.